Relative Content

Tag Archive for selenium-webdriver

Selenium/Python cannot find element name

I am new to automation. I was creating a task using Python/Selenium to open a link, click a few buttons to navigate to a search icon, input the value I want in that search box. Now here is the problem, when we search something, it filters the results in real time in a table. Up to the point where I insert the search value, everything works fine. However, I want it to double click a row which then opens a modal.

getting Exception in thread “main” java.lang.IllegalAccessError while working on selenium java

Exception in thread “main” java.lang.IllegalAccessError: class org.openqa.selenium.remote.http.RetryRequest (in module org.seleniumhq.selenium.http) cannot access class dev.failsafe.function.CheckedFunction (in unnamed module @0xc540f5a) because module org.seleniumhq.selenium.http does not read unnamed module @0xc540f5a
at org.seleniumhq.selenium.http/org.openqa.selenium.remote.http.RetryRequest.(RetryRequest.java:39)
at org.seleniumhq.selenium.http/org.openqa.selenium.remote.http.ClientConfig.(ClientConfig.java:33)
at org.seleniumhq.selenium.chrome_driver/org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:83)
at org.seleniumhq.selenium.chrome_driver/org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:51)
at Introduction/selenium.SelIntroduction.main(SelIntroduction.java:11)

Why does the line wait.until(ExpectedConditions.invisibilityOfElementLocated(By.id(“loader”))); take too long to execute? Open to better alternatives

I am currently doing an internship at a company, and I have to test an app that reacts differently each time. I run my test case, it passes, and 5 minutes later, I run it again, and it fails. What frustrates me is why the compiler cannot find or interact with the element sometimes. Additionally, there are some input boxes where I was unable to use sendKeys, and I had to combine it with JavascriptExecutor and explicit waits.

File Upload Issue on Github for selenium with Java script

I am trying to automate file upload using Selenium with Java in GitHub workflows. The script works perfectly on my local machine, but I encounter issues when running it on GitHub. I suspect it might be related to file permissions or the configuration of the GitHub runner (macOS).

How to handle jstree when using Selenium with python?

I have been working on a web scraping project with selenium. My webpage uses jstrees. In my webpage has select button. Then, a container comes to the webpage. There are jstree structures inside the container. What is the best method for me?