Skip to content
Advertisement

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:

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 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

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

Advertisement