Selenium ChromeOptions中的双破折号(-)表示什么 [英] What does double dash (--) implies in Selenium ChromeOptions
本文介绍了Selenium ChromeOptions中的双破折号(-)表示什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Java中使用了硒,并且在其中使用了一些chrome选项.但是我在不同来源中看到了chrome选项的不同用法.我的意思是有些人在选项前使用双破折号,而有些人则没有(例如 disable-dev-shm-usage
和-disable-dev-shm-usage
).两种用法之间有什么区别吗?
I am using selenium with java and I am using some chrome options with it. But I see different usages of chrome options in different sources. I mean some folks using double dash before the option and some do not (like disable-dev-shm-usage
and --disable-dev-shm-usage
). Are there any differences between the two usages?
推荐答案
查看全文