[英]How to solve connection not secure in selenium under windows 10 OS ? HELP SLENIUM firefox tests automation community pleease
it's a super serious problem for me in my project.在我的项目中,这对我来说是一个非常严重的问题。 I googled, and tried myself, but nothing solved.... I m trying to execute automated tests on Firfox browser.... I m developping my tests using java and selenium on Windows 10 as my OS.. my automated tests can run under chrome with no problem but when I launch my tests on firefox it throws the browser opens but it throws an error "Unsecured connection (in frensh: La connexion n'est pas sécurisée )....我用谷歌搜索,并尝试了自己,但没有任何解决....我正在尝试在 Firfox 浏览器上执行自动化测试....我正在使用 java 和 selenium 开发我的测试 ZAEA23489CE3AA9B6406EBB28E0.CDA4 我的自动化测试可以运行我的 OSZ06EB28E0.CDA1。在 chrome 下没有问题,但是当我在 firefox 上启动测试时,它会引发浏览器打开,但会引发错误“Unsecured connection (in frensh: La connexion n'est pas sécurisée)....
Down is my code and a screnn shot of firfpox browser throwing the error while trying to run tests下面是我的代码和 firfpox 浏览器在尝试运行测试时抛出错误的屏幕截图
I launch my tests successivly as a group of tests gathered using jar,作为使用 jar 收集的一组测试,我连续启动了我的测试,
here is my code as shown bellow with a screen shot of the thrown error:这是我的代码,如下所示,带有引发错误的屏幕截图:
I solved my ISSUE:)... just in case, for the ones that may have this problem with Firefox #INSECURE CONNECTION error#我解决了我的问题:)...以防万一,对于那些可能与 Firefox #INSECURE CONNECTION 错误#有此问题的人
I'm working with: OS: Windows 10 (64 bits) Browser: Firefox v60.0.1 (32 bits) And, SELENIUM 3.5.3我正在使用:操作系统:Windows 10(64 位)浏览器:Firefox v60.0.1(32 位)以及 SELENIUM 3.5。
merionette driver to gecko driver壁虎司机的木偶司机
Solution (as shown in the image attached): Instead of this -> System.setProperty("webdriver.firefox.marionette", path.toString());解决方案(如附图所示):而不是这个 -> System.setProperty("webdriver.firefox.marionette", path.toString()); I used this -> System.setProperty("webdriver.gecko.driver", path.toString());我用这个 -> System.setProperty("webdriver.gecko.driver", path.toString());
I hope it will help anyone who is facing the same problem Thanks:) Regards我希望它会帮助任何面临同样问题的人谢谢:)问候
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.