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)
Selenium- Maven project. It gave the below exception Exception in thread “main” java.lang.NoClassDefFoundError: dev/failsafe/Policy
package seleniumJava;
import org.openqa.selenium.chrome.ChromeDriver;
java.lang.NullPointerException:Cannot invoke”org.openqa.selenium.SearchContext.findElement(org.openqa.selenium.By)”because”this.searchContext” is null
I created 3 file, one is common which is hold common opening browser detail and dashboard page object. And second one is for homepage testcase and third one is for loginIn page or after login page element find test case.
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.
Selenium stops at get method when accessing a specific site
Question
I am trying to access the following site using chromedriver and selenium:
https://salonboard.com/login/
Selenium select fail but working successful on normal browser
My env is Windows 10, Edge 119.
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?
Optimizing Code for Scrapping Room Tables
I want to extract the room tables for all hotels on the website.
I will also provide a sample link.
text
I have prepared the following code as well,