How do you share strings between methods and threads?
I'm currently getting data from my clipboard in string form using one method however I need to access this information from another method running on a different thread, I've done some research and...
View ArticleRobot framework displays : JavascriptException: Message: javascript error:...
I am using Robot framework and using SeleniumLibrary and AngularJSLibrary. I have a login page which is no angular but subsequent pages has angular. When i run my end to end test that is built using...
View Articleselenium chrome python "InvalidArgumentException" specify a unique value for...
Leo's question on 8/16/2019 was marked duplicate, yet was not! I too get the errorselenium.common.exceptions.InvalidArgumentException: Message: invalid argument: user data directory is already in use,...
View ArticleClick on a child div according to main title
I have a div and within it several debts. In each div, I have a title, results and a final div to click on. How do I make the click event in this final div according to a title search?I have experience...
View ArticleWebDriverException: Timed out waiting for driver server to start with phantomjs
I am trying to run my automation on azure devops environment and phantomjs driver is getting timedout with below error message, can someone please help in resolving this...
View ArticleHow to switch focus of WebDriver from Native App to Web authorization Page
Was not able to come up with right wording for title, but will explain here: So im testing native iOS app and at some point user need to connect fitBit Account. So When user tap on Connect => He...
View ArticleOSError: [Errno 8] Exec format error: 'chromedriver' using chromedriver on...
I'm trying to use chromedriver with ubuntu (AWS instance). I've gotten chromedriver to work no problem in a local instance, but having many, many issues doing so in a remote instance.I'm using the...
View ArticlePython Selenium time.sleep() works implicitly_wait() and WebDriverWait fail
I am having an issue locating a web element by id using selenium and python.This is just for one element on the page, I can find all others fine.If I try to...
View ArticleAWS Lambda Jar unable to zip after adding selenium dependencies in pom
This is a weird error. After adding the selenium dependencies to the pom of my maven project and upload it to a lambda, it says it is unable to unzip the file. However after removing the dependencies,...
View Articleselenium the chrome options doesnt work on driver 78.0.3904.70 python
i have using selenium for a long time and some day i trying to open my program and the chromedriver doesnt open, i update the chromedriver and its working fine , but the option parameters that i have...
View ArticleRerun Cucumber step only in case of specific failure
Running Cucumber in CircleCI with Selenium sometimes the tests fail due to CircleCI's performance. A common failure is a Net::ReadTimeout error, which never seems to happen locally. I want to rescue...
View ArticleGetting the error " bound must be positive" while trying to select a random...
I am trying to select a random radio button out of multiple radio buttons through the below-mentioned code:addapp.ClickSelectUnit(); List < WebElement > options =...
View ArticleBDD / Cucumber issues with @Before in multiple StepDefinitions files
I've written some BDD/Cucumber tests, the main files are:2 stepDefinition files2 feature files (first has 2 scenarios, second has 1 scenario)1 TestRunner fileIn each stepDefinition file I have a...
View ArticleIs Page Object Model linking compatible with Cucumber's Gherkin?
With Test Automation's Page Object Model we link pages together like this:WebDriver driver = new WebDriver() HomePage homePage = new HomePage(driver); LoginPage loginPage = homePage.GoToLoginPage();...
View ArticleHow to make automation apps for android
How to make an app which can automate tasks like liking every post in my feed on Instagram. To make such apps what i'll have to learn other than android studio?
View Article(When present) Perform Click Event on 'Login' button of Web Page
My requirement: When I see 'Login' button on web page, I need to click on 'Login' button. Otherwise, no action is required (As I’m already logged in).So, I wrote my login functionality as below with...
View ArticleCant select option from dropdown which is inside iframe - selenium - java8
I am trying to select option from the drop down in iframe but it is not getting selected. WebDriver driver = new FirefoxDriver(); driver.manage().window().maximize();...
View ArticleSelenium not clicking element, when in a loop
The code is working itself, but when thrown to loop not working anymore.driver.get("https://www.esky.pl/okazje/16578/WMI-EDI-FR") i = 1 departure_date_clickable = False while departure_date_clickable...
View ArticleChrome updated - Selenium stops working? help please
I updated my browser from Chrome 75 to 77, and now my code has stopped working. I wrote a programme to take a vehicle reg checker, enter it into the government reg checker and return three bits of data...
View ArticleHow to pack chromedriver.exe on Mac
I'm trying to use Selenium on Electron app and am using the following modules:"chromedriver": "^78.0.1", "selenium-webdriver": "^4.0.0-alpha.4", "electron-builder": "^21.2.0", I built my app on a Mac...
View Article