Selenium with PhantomJs webdriver - selenium

I've just added Selenium via NuGet (version of Selenium 2.42), and can't see HideCommandPromptWindow for PhantomJs (according to this: Selenium Webdriver PhantomJS C# always opens a cmd window. How to get it working (my script works fine, except I want to hide cmd window).

Related

Open Real Chrome with Selenium and run script

I'm working a project, and I would like to know/understand how can I open the real chrome with a selenium script in python, and run multiple instances.

selenium-side-runner does not run Selenium IDE script

We are recording test scripts with Selenium IDE on a salesforce website without lightning. Tests run fine in selenium IDE but when we try using selenium side runner it fails. It cannot locate element by linkText.

Selenium builder, Run Test Locally is not enabled

I have downloaded selenium builder from http://www.sebuilder.com/ with following configuration
Firefox version 43.0.4
Selenium builder version 3.0.5
After that I have
Launch the SeleniumBuilder and click the “Manage Plugins” and download the
Sauce for Selenium Builder 3 1.0.3
In SeleniumBuilder I have imported the .json script using "Open a script or suite' option.
Now under Run option 'Run Test Locally' is not found.
Any additional configuration required to enable 'Run Test Locally’ in selenium builder?
Looks like new Mozilla update have restricted the way old selenium builder ran local test, so developer had to take it out for selenium builder 3. Have a look at this https://github.com/SeleniumBuilder/selenium-builder/issues/6

How to keep data after headless browser selenium tests are passed?

Currently, we are using selenium for the automation test within our projects. We are using PhantomJs WebDriver to be able to run headless browser tests on bamboo. We want to be able to see the data(or content) which are created and saved by tests using PhantomJs but looks like the content will be gone after that tests are passed.
If we run the tests on Firefox driver without PhantomJs, we can see the content (or data) which is created by tests.
How we could config Phantomjs WebDriver in selenium to be able to see new content (or data) after running tests?
Any suggestion?

Selenium grid to remote webdriver(chrome) hangs on get

I have a selenium grid with nodes on virtual machine. I can connect, open browser and close it but when i try navigating to a page it hangs on Executing: [get: http://google.com]
I use the latest verions of selenium, chromedriver and java.
Declaration:
DesiredCapabilities capabilities = DesiredCapabilities.Chrome();
driver = new RemoteWebDriver(new Uri(#"http://xxx.xx.xx.xxx:6000/wd/hub"), capabilities);
then i try to use it when i click a button on my win form:
driver.Navigate().GoToUrl("http://www.google.com");
I can see the node gets the command and logs Executing:[get:htttp://www.google.com] but just hangs. Url doesn't change in browser(its "data:," all the time )
I use windows 7 x64 and try to control browser on windows 7 x32. (if i connect to node on my pc the code works fine)
Any ideas?
Thanks!
I am seeing the exact issue with Safari (python). I am using selenium standalone server v2.47.1. My current workaround is to use JS:
"driver.execute_script("window.location.href = '{0}';".format(url))"
I also observed that if you don't set a homepage on Safari or have it default to load the homepage on new tab/window, the webdriver acts up and hangs on 'get' method.