简体   繁体   English

如何解决 windows 10 OS 下 selenium 中的连接不安全? 帮助 SLENIUM firefox 测试自动化社区请

[英]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.

相关问题 如何在 Mac OS 和 Eclipse 中使用 FireFox 运行简单的 Selenium 自动化测试 - How to run a simple Selenium automation test with FireFox in Mac OS and Eclipse 如何使用硒处理Firefox中的“您的连接不安全”错误 - How to handle “Your connection is not secure” error in firefox using selenium 用于Firefox的Selenium Automation - Selenium Automation for Firefox Selenium - Java:Microsoft Edge 自动化浏览器(Windows 10) - Selenium - Java : Microsoft Edge automation browser (Windows 10) 在Selenium Grid上执行测试时,如何在不考虑OS(Windows或Unix)的情况下从项目文件夹上载文件 - How to upload a file from project folder regardless of the OS(Windows or Unix) When the tests are executed on Selenium Grid 需要一些帮助在我的本地计算机 Mac OS (Java+appium+selenium) 上安排我的自动化脚本 - Need some help to schedule my automation script on my local machine Mac OS (Java+appium+selenium) 如何在 selenium 测试中使用 java 代码检测两个 chrome 浏览器 windows 之间的音频连接? - How to detect audio connection between two chrome browser windows using jave code in selenium tests? Automation Framework-如何使用带有硒Java自动化测试的TestNG生成简单的表格形式的html报告 - Automation Framework - how to generate simple table form html reports using TestNG with selenium java automation tests Firefox错误:使用Java启动Selenium 3.0.1驱动程序时“您的连接不安全” - Firefox Error: “Your connection is not secure” while launching driver with Selenium 3.0.1 using Java 使用Firefox的Selenium自动化在本地工作,但在服务器上失败 - Selenium automation with Firefox works locally, but fails on server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM