All Questions
Tagged with browser-automation java
132 questions
0
votes
0
answers
66
views
Upload file not working with basic_auth using (HasAuthentication) driver.register((UsernameAndPassword.of("username", "password"))
When using basic_authentication
(HasAuthentication) driver.register((UsernameAndPassword.of("username", "password"))
the upload file using sendkeys to html input type=file cause ...
0
votes
1
answer
120
views
Selenium cannot find element despite scrolling into view
I am trying to scrape a few things from the website (url in code). I am able to scrape the brand name and the SDR but it seems like anything that's below the SDR, I cannot seem to scrape. I am only ...
1
vote
2
answers
364
views
Is there a way to capture an image via Selenium when running the test on a Jenkins server?
I've automated a web app that opens up the camera and takes a photo. On my local machine the Selenium script executes and captures the photo (running in headless mode). However, when I run the script ...
0
votes
1
answer
352
views
Automating a dropdown in amazon
Actually, I am trying to automate the Amazon website, where I have to select a category from the dropdown, as shown in the snapshot. But when I try to do so, it says ElementNotInteractableException.
...
0
votes
2
answers
3k
views
How to identify and click on dynamic elements using Selenium and Java
I've tried several xpaths but non could be used to pass my test. I'm a new comer in the automation world and I'm struggling with this particular problem.
I'm trying to locate the element with text ...
1
vote
2
answers
2k
views
cannot log in to google with selenium webdrive
so i want to automate a specific scenario where i have to access gmail. but unfortunately once i enter the email address the following error appears.
[]
in text:
Couldn’t sign you in
This browser or ...
0
votes
1
answer
47
views
Unable to locate element for date picker
I am trying to locate an element
The structure is <div>June 2023</div> to locate a particular month year value which is the header of the date picker
I am unable to create a unique ...
2
votes
1
answer
146
views
NoSuchElementException when trying to find element with valid xpath on Chrome and Edge
I am testing https://www.policybazaar.com using selenium, testNG, java. I get the no such element error while trying to select a date from date picker on https://www.policybazaar.com/travel-insurance/...
1
vote
1
answer
336
views
Possible causes are invalid address of the remote server or browser start-up failure
I use Eclipse IDE, selenium-java v4.8.3, and after I added the SikuliX API version 2.0.5 in my dependencies, I encountered this error
Exception in thread "main" org.openqa.selenium....
1
vote
1
answer
407
views
Trying to use a custom css selector to get all options in a dropdown list using Selenium and Java
The dropdowns in our webpage do not use the common select tags or Li tags. this is making it difficult to extract and store the list items text in a WebElement list. Here is an image of the DOM and ...
0
votes
1
answer
1k
views
Selenium how to get tooltip hover message when no attribute available
I'm trying to capture a tooltip hover message but don't have a title tag nor any attribute I can find to identify the text. It seems to be a button tag that has its attributes change when I hover over ...
1
vote
0
answers
66
views
validating data I have on a website is correct compared to what I have on a data base
Here is what I am trying to do: scrape a website with bunch of table and compare the values with what I have on a database. Example
say that I have the table below and I wanna compare it with what ...
-4
votes
3
answers
533
views
cant find the element using classname in selenium java
I'am using selenium framework to test my own website. Im trying to click on specific icon which using anchor tag. I have java selenium code to click but couldn't click. Tried many xpath, css selectors,...
1
vote
0
answers
391
views
how to solve - Getting OLE2 exception while opening .xls excel file using selenium+java
Hello All
Hey,it's omkaar as a software tester(Automation Selenium+Java).
There is a scinario of reading excel file using Automation (selenium+java)which having .xls (Microsoft Excel 97-2003 ...
0
votes
2
answers
300
views
Is it possible to take element from the API response on Java?
I'm newbie in Java and wanna ask you question. Let's imagine the situation. I generate account for testing purposes using API and in response I get line e.g. such as:
{
"accountId": "...