Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code

前端 未结 3 2017
悲哀的现实
悲哀的现实 2020-12-16 23:20

I am trying to run a Jmeter test on remote machine ( macOS sierraO). I configured jp@gc - Chrome Driver Config and I can connect to the slave machine. However,

相关标签:
3条回答
  • 2020-12-16 23:44

    I could not pass any parameters to chromedriver from p@gc - Chrome Driver Config directly, my config looks like:

    where my chromedriver.dir was chromedirver.dir=vu.chromedriver.dir=/path/to/chromedriver However, I was able to work around it by adding:

    1. workaround.sh for macOS

      #!/usr/bin/env bash /path/to/chromedriver --whitelist-ip $*

    2. workaround.bat for Windows

      \\src\\path\\to\\chromedriver.exe --whitelist-ip %*

    And that solved my issue for making chromedriver to accept remote connections.

    0 讨论(0)
  • 2020-12-16 23:57

    I had the same issue. I fixed by changing to Chromedriver version 80.0.3987.106

    0 讨论(0)
  • 2020-12-17 00:00

    lease protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.

    Solution: Get your Chrome Browser version and download the ChromeDriver for specific to that version.

    Open your Chrome browser > Click on 3 vertical dots (top right corner) > Help > About Google Chrome

    Verify the Chrome Version (such as 73 or 74 or other ..)

    goto Selenium browser driver download portal and download the Chrome Driver of that version

    https://sites.google.com/a/chromium.org/chromedriver/downloads

    0 讨论(0)
提交回复
热议问题