Relative Content

Tag Archive for pythongoogle-chromeselenium-webdriver

How to fully close webdriver chorme in python

I made a parser using webdriver chrome. The site I’m parsing is dynamic, everything works fine, but there’s a problem. The script does not completely close open chrome, that is, it stays in the task manager and loads the pc

Selenium Adding Default Profile

I want my Google Chrome browser, which I opened for web scraping, to open with either the default profile or a specific profile. Selenium automatically opens it as a guest. I tried the code in the image but it didn’t work. How can I solve this problem?

Resize Chrome Application

I’m an amateur coder and I’m trying to resize the chrome application by pressing a key on my keyboard by using python. I want my code to be able to resize the window to (300, 1080) and (1920, 300), as well as another key to return to fullscreen. I started researching online and most sources said to use selenium to do this, but using their exact code would just open a new chrome application rather than resize the current one. Other sources told me to use pywinauto, win32gui, or pygetwindow but again all of the code they provided either did nothing or opened a new window.