Skip to main content

All Questions

Tagged with
0 votes
1 answer
173 views

How to access an element on a web page by XPath using the nodriver library in Python?

I tried to write a wait_for_xpath function, but I'm unable to create an Element class for interacting with an element on the web page using the dom.py module. Here's the code: async def wait_for_xpath(...
user25065962's user avatar
0 votes
2 answers
186 views

SeleniumBase - Unable to select a value from a dropdown using value, text,index

I am working on automating my workflows in SeleniumBase + Python. I am facing issues with this specific webpage , where I want to click on the dropdown and choose a value from the list of options ...
sanjay_siddharth's user avatar
0 votes
1 answer
57 views

How to pass XML path to check for sibling relation in lxml - python

My python function to get the attribute value of an element import lxml.etree as ET def xml_get_attrib_value(filepath, xpath, attribute): it = ET.iterparse(filepath) for _, el in it: _, _,...
Hemant's user avatar
  • 13
-1 votes
1 answer
35 views

Python Selenium Not getting .text Attribute from table

I am having issues scraping the .text attribute from the tag. I am trying to get the quantities in the Quantity column. There are 7 of them as shown below I am attaching my code below: from ...
BigEfromDaBX's user avatar
0 votes
2 answers
107 views

Elements not found by Selenium and Python, even though they are present

I'm trying to automate a repetitive process in building a website in the format of an e-commerce store (I'm an amateur). These are repetitive steps that would certainly save me an extraordinary amount ...
Jorge Pedro Souza Silva's user avatar
0 votes
0 answers
57 views

Scrapy carousel categories not extracting

I am trying to scrap a website to get the list of categories from a carousel but it's not working. Below is my code import scrapy class CourtsmuSpider(scrapy.Spider): name = "courtsmu" ...
Mervin Hemaraju's user avatar
0 votes
1 answer
63 views

Select shelly using Python + Selenium

So I am new to using Selenium with Python. I would like to access a xpath on a specific website. To access this website one must first log in with an account, so my problem is not really reproduceable ...
fridgekido's user avatar
0 votes
0 answers
31 views

How to Handle successful pop up message "Provisioning Success" ok on Appium python script provisioning

Im trying to run the provision application from appium python script and mobile conenected on the machine where for given ssid and password is connected.After successful connection for AP, we get ...
Somu's user avatar
  • 15
1 vote
1 answer
67 views

How can rewrite the code with pure playwright codes?

I want to get all the a elements href attribute in the webpage https://learningenglish.voanews.com/z/1581: from lxml import html from playwright.sync_api import sync_playwright with sync_playwright() ...
showkey's user avatar
  • 588
1 vote
2 answers
109 views

Cannot close pop up in selenium using xpath

I'm trying to close a pop up using xpath but I am failing: The website: https://www.zhihu.com/question/42867599 driver.find_element_by_xpath("/html/body/div[5]/div/div/div/div[2]/button/svg")...
Asteroid098's user avatar
  • 2,795
0 votes
0 answers
53 views

ERROR ElementClickInterceptedException: Message: element click intercepted:

I am trying to make a project to get some data from a public website. This is my code so far: from selenium import webdriver import time import pandas as pd from selenium.webdriver.support.ui import ...
buchic's user avatar
  • 3
1 vote
0 answers
83 views

Getting the XPATH for calendar in Python Selenium

So I'm having some trouble accessing a calendar date on a website. This is the HTML code and I want to access the 3rd day of September. <tbody><tr><td class="dayHeader">S&...
bigCredi's user avatar
0 votes
0 answers
26 views

how to acquire the a button node by xpath

I write a lots of xpath expression to acquire the button node, but all fiailed A xpath expression to get the button node from selenium.webdriver.common.by import By from selenium import webdriver from ...
ming yuzhou's user avatar
-1 votes
1 answer
892 views

How to construct locators for dynamic elements using Selenium and Python

I am working on web scraping from LinkedIn. I have a filter for roles on a sales navigator page. Here I need to add filter for roles using python. driver.find_element(By.XPATH,"//[@id='ember219']...
Sushmitha's user avatar
  • 151
-2 votes
1 answer
32 views

How do I prevent filling the same details repeatedly when entering data from a CSV file using Python Selenium and Xpath?

with open('C://pyhtonprograms//flipkartinfo.csv', 'r') as csv_file: csv_reader = csv.reader (csv_file) next(csv_reader) for line in csv_reader: driver.get("https://www....
Nitin Nawani's user avatar

15 30 50 per page
1
2 3 4 5
50