All Questions
868
questions
0
votes
2
answers
58
views
Unable to click an element and scrape web using xpath and id- selenium
I have been trying to create a code to select an element on a web page- https://tmrsearch.ipindia.gov.in/eregister/ using xpath and element id with the help of Selenium library. I have mentioned two ...
-1
votes
1
answer
24
views
button-click and web scraping
I trying to get the number of comments and content of comments from : https://www.arlnow.com/
I have a problem for "load more comments" button.
I tried:
load_more_xpath = '//a[contains(text(...
0
votes
0
answers
20
views
Unable to locate a precise webelement to be clickable in a list given by Selenium CSS Selector
I am looking for a way to click on a precise button webelement located on a table.
Using selenium selector I could identify about 12 elements having the same class name but printing text or attribute ...
0
votes
1
answer
74
views
How to click a span in list without id with selenium webdriver python?
I can't click the "Span 1" through selenium web driver. this is inspect element from the web :
<div class="m-menu__subnav siak_menu_lm01" data-cek="02">
...
0
votes
1
answer
37
views
Looping through a set of xpaths and checking the test values
I have around 100 xpaths which only differs only in index at the end.
The sample xpaths range from:
(//div[@class='something']
//div[@class='some other thing'])[1]
to:
(//div[@class='something']
//...
0
votes
2
answers
93
views
by.xpath not working despite being correct xpath
I'm trying to locate this title element after a pdf is loaded. I'm using contains(), as the .pdf name won't ever change, but depending on the app used to open the pdf, the start of it can change, so I ...
1
vote
1
answer
61
views
Selenium webdriver - How to locate the dropdown select element with first part is dynamic and second part is static
The ID is dynamic - first part is dynamic and second part is static
[Example element code]
<div class="ng-option ng-star-inserted" role="option" id="abc123-0">
<...
1
vote
1
answer
56
views
Webscraping with Selenium using Xpath
I'm looking for some numbers on https://tnnslive.com/
The numbers I'm looking for on tnnslive.com:
If I copy the xpath in Chrome, I get:
//*[@id="root"]/div/div/div/div/div/div/div/div[2]/...
2
votes
2
answers
1k
views
How to locate the search box on Google Home page using Xpath
I have entered correct from the developer tool xpath still it is not macthing element. How can find the xpath or other locator for google search box.
HTML:
<input id="input" type="...
0
votes
0
answers
125
views
Selecting element by xpath
Trying to scrape data and select tweets from twitter.com by xpath using selenium web driver. After selecting by copying the xpath it still does not select the supposed data (tweet)
I have tried ...
1
vote
2
answers
711
views
How to get all links with python selenium in a tbody
Here's my python script that allows to search the https://whatsmyname.app/ site and then retrieve the links with this:
link = driver.find_elements(by=By.XPATH, value="/html/body/div/div/div[3]/...
1
vote
1
answer
235
views
Finding a specific span element with a class using Selenium
The html below is stored in a selenium WebDriver variable
<td colspan="2" class="pi_mailing_address"><strong>Mailing Address</strong>
<div>
...
0
votes
2
answers
588
views
How to locate the webelement 'User Role' under admin menu in opensource-demo.orangehrmlive.com using Selenium
I find difficult in finding the locator for the webelement 'User Role' within the website: https://opensource-demo.orangehrmlive.com/web/index.php/admin/saveSystemUser
Steps:
login to the above ...
1
vote
1
answer
102
views
How to click on the checkbox using Selenium Javascript and Xpath?
I am trying to target the checkbox to agree to the terms and conditions but have no name or id to use to target. I have innerHTML and innerText that I am trying to target with selenium but am only ...
1
vote
4
answers
169
views
How to identify a certain text inside each element in an iteration of elements using Selenium and C#?
I've been learning automation with C# for some weeks now, though I'm progressing in a slow manner. I'm currently trying to do a certain test using a mock page (automationexercise.com).
The page mocks ...