selenium-grid

docker selenium hub not accessible from different machine (in same network) [docker selenium grid not working]

独自空忆成欢 提交于 2019-12-11 04:19:23
问题 I have set up selenium docker hub on my local host and it is up and running (however through Kitematic it shows 2 IP addresses for docker selenium-hub) (see this) I have checked that docker selenium-hub is up and running fine on my local machine Main Problem start appearing when I try to register chrome-node from another machine Now I want to run selenium docker chrome node on another machine so I fired following command on another machine (Node machine's IP Address is '192.168.80.135' & I

Selenium error - couldn't register this node: hub down or not responding

 ̄綄美尐妖づ 提交于 2019-12-11 02:22:59
问题 I'm getting this error message: couldn't register this node: hub down or not responding. when I'm trying to follow this quickstart guide: http://code.google.com/p/selenium/wiki/Grid2 When I run the command below: java -jar selenium-server-standalone-2.14.0.jar -role node -hub http://localhost:4444/grid/register I download 2.17.0 version of selenium standalone jar... I don't know what to do after that. 回答1: First, start selenium-grid hub: java -jar selenium-server-standalone-2.42.2.jar -role

Protractor with selenium grid

廉价感情. 提交于 2019-12-10 23:34:32
问题 Could anyone please advice how to setup protractor to run tests remotely ? My protractor.conf.js: exports.config = { chromeOnly: true, chromeDriver: '../node_modules/.bin/chromedriver', framework: 'jasmine2', capabilities: { 'browserName': 'chrome', shardTestFiles: true, maxInstances: 3 }, specs: ['../e2e/protractor/spec/*.js'], jasmineNodeOpts: { showColors: true, defaultTimeoutInterval: 30000 }, jasmineNodeOpts: { isVerbose: true }, onPrepare: function () { global.dv = browser.driver;

Selenium Grid support for Selenium 2?

别来无恙 提交于 2019-12-10 21:08:20
问题 I have read that Selenium Grid support was planned for Selenium 2.0 at the year end - 2010. Apparently it has not happened. Anyone knows of any updates on this? 回答1: One of the talks at the Selenium Conference this weekend talked about Selenium Grid 2. It is on track and will be released with Selenium 2, including the next Beta (Beta 4). It is going to be more robust than Grid 1. In fact the hope is that it replaces RC, which would essentially become a grid of 1. You can read about it in the

enablePassThrough not available for selenium server 3.9.1

这一生的挚爱 提交于 2019-12-10 17:41:02
问题 I was using selenium server 3.7.1 for my test setup using this command: java -jar selenium-server-standalone-3.7.1.jar -enablePassThrough false But trying to update to 3.9.1, I get an error: Exception in thread "main" com.beust.jcommander.ParameterException: Was passed main parameter '-enablePassThrough' but no main parameter was defined in your arg class Meaning enablePassThrough is not available in the latest version of selenium? Why? What other option or setup is available instead? 回答1:

Is there any way to delete an HttpOnly cookie from C# Selenium tests?

倾然丶 夕夏残阳落幕 提交于 2019-12-10 15:32:46
问题 I have a set of C# Selenium tests that need to delete a cookie that has the HttpOnly flag set. Unfortunately the DefaultSelenium.GetCookie() and DefaultSelenium.DeleteCookie() commands aren't able to access the cookie, because it has that HttpOnly flag set. I've confirmed this by removing the flag by hand, and checking that subsequent calls to either of those methods are then happily able to manipulate the cookie in question. Is there any other way to do this via the Selenium .NET client

Selenium WebDriver on IE 9, on clicking, links are flashing as if some click event was not completely handled

点点圈 提交于 2019-12-10 12:24:37
问题 This question is regarding Selenium WebDriver running on Internet Explorer. On Internet Explorer, the vary basic selenium method that is click() does not works most the of the time. This is my code: System.setProperty("webdriver.ie.driver", "<path_to_iedriverserver>"); DesiredCapabilities d = DesiredCapabilities.internetExplorer(); //d.setCapability("nativeEvents", false); webdriver = new InternetExplorerDriver(d); webdriver.get("http://google.co.uk"); webdriver.findElement(By.linkText(

Selenium hangs when launching Firefox on Ubuntu

浪尽此生 提交于 2019-12-10 02:32:13
问题 My end goal is to have Selenium running 'within' Jenkins. My Jenkins installation runs within an Ubuntu virtual machine. After some issues with the jenkins selenium setup (stemming from permissions for the user that jenkins runs under) I switched to running the command from the command line to see what was happening. My aim is to get the test running here, and then to get it working within Jenkins. Here's the command and responses I'm currently using and seeing. resn@resn-VirtualBox:~$ sudo

Unable to connect to Firefox

僤鯓⒐⒋嵵緔 提交于 2019-12-09 13:39:53
问题 I'm working on Selenium and I currently have a hub connected to two vms running linux with all the browsers. I was able to launch browsers until suddenly it just stopped . Firefox or any of the other browsers don't launch. I get the following error. Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. I am running Selenium-server-standalone 2.26 with firefox 16.0.2 . Please help. 回答1: Try running this before you start your Selenium server: export DISPLAY=:0 来源: https:/

IE11 test runs if specified direct node ip but fails when grid hub url specified

寵の児 提交于 2019-12-08 16:49:31
问题 I use nodejs selenium-standalone and I have: 1) selenium-standalone running on Mac with role=hub 2) selenium-standalone running on Mac with role=node (to run tests on local Mac browsers) 3) Windows 10 installed on parallels desktop with selenium-standalone running with role=node 4) IE11 is configured regarding this article https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver#required-configuration I have gridUrl config in my test (yandex gemini) and when I set it to windows node