Description of the situation: It is a script that scrolls in a frame in order to extract the information. The list length of about 30 items, when scrolling, no new items are added <li> </li>, only updated. The structure of the DOM does not increase. Explaining the problem: When the script scrolls, it must extract all the elements of the
Tag: selenium
Could not get version for google-chrome with the command: powershell “$ErrorActionPreference=’silentlycontinue’ using WebDriver manager and Selenium
I’m trying to create a script using python that separate 2 kind of websites , the one with SPF included and the others with SPF , and classify them using python, so in the beginning it worked perfectly but these daysit gives me a message error that I don’t find a clue about it The output message is as follows:
Print out times that are free and save them in dictionary
I am working on a timetable system and need all the free slots (where the student has no lectures). Right now it prints the entire timetable out. I just need to store all the free slots somewhere. They are showing up as “NaN” on the time table. here is my code. Expected output would be all the free times printing
Why cannot I import selenium?
Why can’t I import selenium? My text is looking like this in Visual Studio code: I have not always had this problem. The problem occurred after I switched to Windows 11 where the c-drive was deleted. Do someone out there know how to fix it? I’m using Windows 11. Answer Try C:> py -m ensurepip –upgrade If you install Python
How to move selenium webdriver to next page after clicking submit button?
So I got to the point where my program fills in the textbox and clicks the proceed with booking button with a submit() command, however in the html there is no url to put in the driver.get([url]) method to move my driver to the next page. All subsequent methods called on driver are on the “Proceed with booking” page instead
How to iterate a variable in XPATH, extract a link and store it into a list for further iteration
I’m following a Selenium tutorial for an Amazon price tracker (Clever Programming on Youtube) and I got stuck at getting the links from amazon using their techniques. tutorial link: https://www.youtube.com/watch?v=WbJeL_Av2-Q&t=4315s I realized the problem laid on the fact that I’m only getting one link out of the 17 available after doing the product search. I need to get all the
Selenium Webdriver module: Keys.UP does not work as expected
I have written a python script that should automatically play the game 2048 (https://play2048.co/). The problem is: keystrokes seem to be ignored by the browser. Or the program runs too fast for having the browser clicking through the game. I have checked the Selenium documentation and I am not sure if I have to include some explicit waits. Here is
Python – Selenium – Scraping through multiple websites
I am trying to build a webscraper with python / selenium that scrapes data from multiple websites and stores the data in an Excel sheet. The sites I want to scrape are the following: From all sites I want to scrape the “Omsättning”, “Volym” and “VWAP” values and store them in an excel sheet. This is what I got so
I can’t add cookies on python selenium webdriver
I’m trying to enter a page and then add cookies on it, but it returns an error and I don’t know why. I did it exactly like is written on the selenium docs, and here is the code i used: And it returns selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: missing ‘name’. I already thought that it could be the code trying to
scraping name of dataset in kaggle using python
Hi, Please how can i get the name of dataset in kaggle, usign beatiful soup or selenium or scrapy. I test this code but no return : see the picture : inspect element from kaggle Answer Using Selenium Output: dataset snapshot