I am using Selenium grid jar on a mac machine.
When:
the test is started
Safari browser is opened
the target web page is navigated to
findElement() is completed successfully
but on attempted click or getting element displayed or visible state, there is
"An unknown server-side error occurred while processing the command.".
There was nothing in the node console log when the error occurred.
I am only using the "browserName", "safari" desired capability.
I have been searching for version dependencies or other capabilities needed, but I couldn't find anything. Any help would be appreciated.
Versions:
Safari 11.1.1,
Selenium-standalone 3.12.0,
Selenium.WebDriver 3.12.1
Related
Guys I need help to run the robot using Selenium. When trying to run the browser it opens very quickly and closes, I can't access the amazon website. I have already updated the chromedriver to the compatible version of my browser but I still get the InvalidArgumentException message: Message: invalid argument showing the browser screen in white.
obs: I've already reinstalled the drivers for the versions I have of firefox and chrome but I still can't run.
enter image description here
enter image description here
I tried to run the robot and I couldn't because the error message is displayed
InvalidArgumentException: Message: invalid argument
Did you specify the browser and web-url arguments?
like:
open browser https://www.amazon.com/ chrome
I am automating a simple login script through Browserstack using Selenium.
The script I have written works on chrome windows, chrome mac os, and Android Samsung. However, when I run the script through apple iPhone 11 or mac os safari I get an error message saying can not locate
driver.findElement(By.xpath("//*[contains(text(),'Log in')]")).click();
Apart from the device, I am automating nothing else changes.
What is the fix for this?
If the test returned "cannot find element" on the device, I'll recommend changing the element locator strategy.
You could otherwise also try to inspect the app against the same browser manually via Live: https://live.browserstack.com/
This could help you narrow down if the element locator is correct.
protractor version : 5.0.1
safari version : 11
Mac version : 10.13
selenium version : 3.0.1
Error message: safaridriver could not launch because it is not configured
I have enabled the safari driver using the command --enable but still it is not launching the browser
Any possible solutions for the issue ?
A lot of times, it's because the developer option to allow remote automation isn't clicked. In safari, you can access this by clicking 'preferences' -> advanced. At the bottom it says 'show Developer Menu in Menu Bar.' Click that. Then in the newly appeared develop tab click on 'Allow Remote Automate' towards the bottom of the list. If this doesn't run it, post your code and we can take a more thorough look.
I'm having a problem when launching Firefox from Selenium (using version 2.53.2).
When I launch it using:
from selenium import webdriver
driver=webdriver.Firefox()
it launches, then straight away tries to close with a "Firefox has stopped working" error.
This has been working previously, I tried to uninstall and reinstall Firefox, but I'm still getting the same problem every time.
I don't get the issue if I launch Firefox manually.
This is a know issue with Firefox 47:
https://bugzilla.mozilla.org/show_bug.cgi?id=1279127
I tried to perform drag and drop operation by following on Firefox 23.0.1 browser with Selenium WebDriver 2.35.0:
driver.action.drag_and_drop(source, target).perform
but it results into:
Selenium::WebDriver::Error::InvalidElementStateError: Cannot perform native interaction: Could not load native events component.`
Even though change log says:
2.35.0 (2013-08-14)
===================
Firefox:
* Updated Firefox native event components to support Firefox 23.
why native events error is thrown with Selenium WebDriver 2.35.0 and Firefox 23.0.1 combination?
I asked same question twice on #selenium irc channel, but no one replied to it. Help me to understand if I'm doing something wrong.