Test execution failed using selenium - robot - selenium

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

Related

Safari on Browserstack now working correctly

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.

Remote Safari driver for Safari 11 cannot click element

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

Firefox launches then closes with "Firefox has failed to launch (selenium 2.53.2)

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

thucydides report from jenkins not opening properly in chrome where it open in iexplorer?

After a successful run in jenkin a mailer is triggered which contains a thucydide report link.When clicked on the link it open in my default browser i.e. chrome. But it not opening properly the pie chart is not getting displayed and all the test are green.
Can i change some setting to get it properly?
I want it to open it correctly in chrome n Firefox. As both displays similarly.

Native events error for Selenium WebDriver 2.35.0 and Firefox 23.0.1

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.