We’re rewarding the question askers & reputations are being recalculated! Read more.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

unable to press the login button while using selenium and chromedriver [duplicate]

hey so i updated the automatic facebook logging in code its doing everythings its supposed to except pressing the login button lol here's the code: from selenium import webdriver from time import ...
0
votes
1answer
33 views

name error while trying selenium to open google

im trying the selenium webdriver to open google via chrome but im getting an error from selenium import webdriver driver = web.driver.Chrome(r'C:\Users\sahay\Downloads\chromedriver.exe') driver....
0
votes
1answer
27 views

Selenium error while logging in to facebook [duplicate]

i was trying to make a program which automatically opens firefox,opens facebook and enters the email id and password but i keep getting the same error the code: from selenium import webdriver from ...
1
vote
1answer
41 views

Python Code to add songs to a Spotify playlist using Selenium

After logging in, my program starts looping over a list of songs to add them to my Spotify Playlist. But after the first loop, it raises the "stale element reference: element is not attached to the ...
1
vote
3answers
23 views

How to fix this error in selenium: AttributeError: 'list' object has no attribute 'find_elements_by_css_selector'

how to fix AttributeError: 'list' object has no attribute 'find_elements_by_css_selector' Error in Python Using Selenium Here is my code: for s in site: time.sleep(3) URL = 'https://www.bing....
0
votes
1answer
45 views

I want to scrape business listings using either BS4 or Selenium

I want to scrape business listings from all the pages in this page: https://www.google.com/search?sxsrf=ACYBGNQ8Fi1dsaisfvundg1DuQk-01zamg:1573888738693&q=list+of+dry+cleaners+and+Launderettes+in+...
0
votes
2answers
30 views

find element by xpath - selenium propper formating

I have a button on a Webpage that needs to be pressed so that a data file can be rebuilt to then dowload this file. I don't know any HTML, so I am unsure which variables are needed to get the driver....
0
votes
0answers
19 views

Issues navigating down shadow root using python [duplicate]

I'm currently using python and going down the root, but ran into a problem and now I'm stuck. I cant seem to get down and expand. I've tried #root5 = shadow_root4.find_element_by_tag_selector('...
1
vote
0answers
19 views

Mouse actions are not working in headless chrome? (python selenium)

I'm using python-selenium and Chrome...trying to automate to take a snap when the cursor moves to a particular position of my screen. When I launch the browser, it's working super fine! But, If I ...
-1
votes
1answer
32 views

What is required to pass URL as arguments in selenium python

I'm writing a selenium python script for automation. Want to pass IP as an argument to create URLs to be used in the script. node_ip = sys.argv[1] app_url = str("https//"+node_ip+":5200/admin/") ...
0
votes
1answer
38 views

How to interact with an element with Selenium when I don't have it's id?

I want to send a message to [this webpage][1] with Python. It is to say to do the following but with Python: That's why I tried the following script with Selenium: from selenium import webdriver ...
-2
votes
1answer
22 views

How to get a value as a variable with selerium? [on hold]

I don't know how to explain this, so I'll just show go directly into that value So there's a thing that is named "value", and I want my python with help of selerium to take that "value" thing as an ...
1
vote
2answers
35 views

Insert text to text box using selenium chrome driver in python 3

I have a page with this code <div id="mgmtStatic" class="initial_hide"> <div class="row"> <label for="mgmtIpAddr">IP Address:</label> <input type="text" ...
-1
votes
1answer
53 views

What are the improvements in the different Selenium versions

I am working on test automation Are there any advantage to updgrade selenium different versions ?
0
votes
0answers
25 views

StaleElementReferenceException on Python Selenium loop print [duplicate]

I am getting the following error while using Selenium in python: File "c:/Users/proec/OneDrive/do/Python Scripts/testrunwebpage/runwebpage.py", line 31, in <module> last_price_bid = ...
0
votes
0answers
26 views

How do I pass a url to a web browser which is opened through the selenium web driver? - Django + Selenium + Python [duplicate]

So, basically what I am trying to do here is to get some data from the website after submitting the form. When the form is submitted a URL is passed to it. Here's the code I am using it: URL = "https:...
0
votes
1answer
34 views

how can i locate element and get the number by use selenium python

I am trying to use selenium to locate this element and get the number this element, but I need selenium to get the number 8864.00 How can I locate this element and get thenumber HTML: <div class="...
1
vote
1answer
30 views

selenium webriverwait raises error without description

this: element = wait.until(EC.element_to_be_clickable((By.ID, 'username'))) gives this error: Traceback (most recent call last): File "spammer.py", line 100, in <module> bot() File "...
0
votes
1answer
23 views

ModuleNotFoundError: No module named 'selenium' You are using pip version 9.0.1, however version 19.3.1 is available error using selenium using Python

I wrote a python script and using selenium driver. I am getting the below error: from selenium import webdriver ModuleNotFoundError: No module named 'selenium' When I run the command: pip ...
2
votes
2answers
115 views

selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable error while trying to login with Selenium and Python

I am trying to login in https://www.ecobolsa.com/index.html with Selenium in python3, but the send_keys functions gets me the message: selenium.common.exceptions.ElementNotInteractableException: ...
1
vote
3answers
38 views

Trouble saving file uploaded using Python Selenium

I am working in Selenium using Python and am working with Chrome.  When I get to a section for a picture upload, I do the following: pictureChange = driver.find_element_by_xpath("//input[@class='...
-4
votes
1answer
33 views

How to check password hide characters?

Hello i need help with checking password hide characters. I have to test a password field if length of a password is the same as the length of password hide characters. Is there any way to do it ...
-2
votes
1answer
45 views

Web Scraping this site to get the output

There is this site https://colinhume.com/music.aspx which takes a certain input and converts it to an output file. Let's say the input is : X: 7 T:As Luck Will Have It % Nottingham Music Database S:...
0
votes
2answers
34 views

Web scraping shot range data of NBA players in python

I'd like to export the shooting range data. I just got exposed to python. My code is as follows: from selenium import webdriver from bs4 import BeautifulSoup path_to_chromedriver = "D:\...
0
votes
0answers
24 views

Methods to refresh browser page?

I just want to refresh a browser page for my smart mirror application! A PIR sensor detects a person and then the python scripts toggles the display ON - when it does it should also refresh the ...
1
vote
0answers
33 views

Selenium Logs me out every time when I navigate to a new page, how do I stop this from happening?

I am using Selenium Via Python. I have selenium opening up a webpage using chrome and logging me in. Then as soon as i click on something else, it logs me out. For instance. I can run my program to ...
0
votes
1answer
25 views

Login by cookies in python selenium

My intention is load gmail with out login google account.Is any possible to add cookies to the driver and login browser.For example if am wants to access same gmail multiple times means i am need to ...
-1
votes
1answer
24 views

Entering an input, clicking it and retrieving particular information with Selenium [closed]

I'm new to web scraping with Python. My intent is to retrieve the verb for a word of interest. For e.g. dictionary.com has definitions for different parts of speech for word, I would like to enter a ...
0
votes
0answers
25 views

WebDriverException: Message: invalid argument: can't kill an exited process

I'm new to web scraping with Python. My intent is to retrieve the verb for a word of interest. For e.g. dictionary.com has definitions for different parts of speech for word, I would like to enter a ...
1
vote
4answers
50 views

Selenium can't find element by class name

I want to send a message to this webpage with Python. It is to say to do the following but with Python: That's why I tried the following script with Selenium: #!/usr/bin/env python3 from selenium ...
0
votes
2answers
45 views

Selenium WebDriverException 'chromedriver.exe' needs to be in PATH

I'm trying to use selenium for a python web scrapper but when I try to run the program I get the following error: /usr/local/bin/python3 /Users/xxx/Documents/Python/hello.py ...
0
votes
0answers
20 views

How To Fix Web Page Content Not Showing When Using PhantomJs In Selenium Python

How Can I Get Loaded Facebook Page With Contents(without getting a empty page) By Using PhantomJs In Selenium Python? I Am A Beginner To This Field.I Used PhantomJs With Selenium In Python To Scrap ...
0
votes
0answers
68 views

Problem in rendering a url using selenium and requests to scrap

I am developing a scrapper. As I am trying to access further pages to scrap them, I ONLY sometimes manage to do it...I think it comes from a problem using either selenium or requests (or both) because ...
1
vote
1answer
31 views

Handling staleelement reference exception Coverfox website using Python pytest selenium

content of test_homepage.py def test_insurance_pages_open_successfully_using_fixtures(page_object, load_home_page, insurance_data): page_object.open_insurance(insurance_data) ...
0
votes
0answers
20 views

Best combination for scraping dynamic web pages using python [duplicate]

- I'm new to web scraping and I'm using python as a language to scrape websites. I did some scraping well but those websites I have scraped are static websites. - Now my question here is I have gone ...
0
votes
1answer
35 views

Find elements by 'class' ONLY within a particualr 'id' with selenium

I am new to scraping & I am trying to scrape data from a simple static web page. The webpage is arranged in tables & I want to get the data only from within id 'Table1' (Red rectangle within ...
0
votes
0answers
14 views

Python Selenium Gekodriver proxy not being applied

I'm trying to apply an HTTP proxy with authentication to a Selenium webdriver instance using geckodriver: proxy_options = Proxy({ 'proxyType': ProxyType.MANUAL, 'httpProxy': f"...
0
votes
1answer
30 views

Clicking on web-table with selenium python 3

<tr id="GBPUSD" class="filled" title="Great Britain Pound vs US Dollar Calculation: Forex Trade: Full access" draggable="true" style="background: rgb(255, 255, 255);"><td id="symbol" class="...
0
votes
0answers
27 views

How to fix (selenium) error “unable to find a matching set of capabilities” on raspberry pi 3b+ [duplicate]

I want to make selenium work on my raspberry pi 3 b+ which has raspbian lite installed in order to refresh a browser page. But I receive the error "unable to find a matching set of capabilities" even ...
0
votes
1answer
27 views

Can we use the search functionality on the website using selenium web browser

I am working on the web scraping project in which I want to search the specific element by entering a keyword in the search box of the website using Selenium web driver in Python. e.g. This is the ...
0
votes
1answer
25 views

ElementNotVisibleException Error with xpath selenium python

Hi I am scrapping a website and I am using selenium python. The code is as below url ='https://www.hkexnews.hk/' options = webdriver.ChromeOptions() browser = webdriver.Chrome(chrome_options=options,...
0
votes
1answer
50 views

Selenium webdriver not closing giving no attribute error in python

I have been using Selenium along with Python for a project I am working on that launches a webdriver using a gui. However when the Quit button is pressed and runs the CloseBrowser() method while the ...
-4
votes
0answers
60 views

I have an error when I am running this code | python selenium

This is the code from selenium import webdriver driver = webdriver.Firefox() driver.get("https://www.amazon.com/s?i=specialty-aps&bbn=16225009011&rh=n%3A%2116225009011%2Cn%3A502394&ref=...
0
votes
0answers
12 views

Sharing complex un-serializable and unpicklable object between Multi-process (uwsgi workers)

Possible duplicate questions I have gone through which talks about the same. Persistent in-memory Python object for nginx/uwsgi server Multiprocessing Share Unserializable Objects Between Processes ...
0
votes
1answer
36 views

scraping selenium protected site

I'm running into an issue being able to automate (website (clickhere)) It appears that the site is protected in someway for chromedriver. When I visit the website normally I have no problem, but when ...
0
votes
1answer
41 views

How to select certain button with selenium

I need selenium to select a button with the html code of: <a href="stuMain.php?datasetID=31561">583</a> There are over a thousand buttons and each button has two different numbers in the ...
0
votes
0answers
14 views

Problem with updating data after a option was selected in a dropmenu with Selenium

I am trying to obtain a database from a website, the page shows this information by months. Specifically by a dropmenu, where one can choose the month and year, and all data below this field is ...
0
votes
2answers
26 views

Scrolling down with Python Selenium on part of the web page

So I have a web page where a part of the page is a user list. A user can scroll down this list, but scrolling only works if the mouse pointer is located above this list. Keys like page down or end do ...
1
vote
2answers
57 views

Python: how to fill out a web form and get the resulting page source

I am trying to write a python script that will scrape http://www.fakenewsai.com/ and tell me whether or not a news article is fake news. I want the script to input a given news article into the ...
-1
votes
0answers
23 views

Scrapy how to get element loaded in grid

I am crawling for this page https://itch.io/jam/sheridan-strike-jam/entries If you hover over one of the four game's names, you will see the link to the submission page. For example, clicking the ...