Python Forum
Interfacing Google Chrome & Python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Interfacing Google Chrome & Python (/thread-16660.html)



Interfacing Google Chrome & Python - akornrumpf - Mar-09-2019

Hi all, first post - looks like I'm swimming in the deep end already - anyone got waterwings? Angel Cool

"Script Goal:

Identify programming language and develop automation that allows the user to interact with ~40 instance of Google Chrome at once.

The manual sequence of this action is to:
1. Open each browser.
2. Select the Download Icon/ Print overlay
3. Set a save location and File Name
4. Select the Save button.

This seems a bit like web-scrapping at some level, but I can't tell for sure."


RE: Interfacing Google Chrome & Python - Larz60+ - Mar-09-2019

you can look at selenium with chromedriver for a way to do this.
It has both header (visible) and hidden modes.
There's a good tutorial here on how to use: https://python-forum.io/Thread-Web-scraping-part-2


RE: Interfacing Google Chrome & Python - akornrumpf - Mar-10-2019

(Mar-09-2019, 09:31 AM)Larz60+ Wrote: you can look at selenium with chromedriver for a way to do this.
It has both header (visible) and hidden modes.
There's a good tutorial here on how to use: https://python-forum.io/Thread-Web-scraping-part-2

Thanks for the reply. Right now I'm having a time getting the "Selenium with Chromedriver"
But am trying to follow a tutorial here:
https://www.guru99.com/selenium-python.html

It requires me to download a program called Eclipse Marketplace. (Though I am having problems with that executable) located here
https://www.eclipse.org/downloads/packages/installer

But, one I get that resolved - I can try and follow the code you reference me to. Unless you have another way?


RE: Interfacing Google Chrome & Python - Larz60+ - Mar-11-2019

Have you looked at the tutorial I show in post 2?
I can vouch for it!
You do not need elcipse marketplace. That sounds like a scam!
Use the link I pointed to!


RE: Interfacing Google Chrome & Python - akornrumpf - Mar-16-2019

(Mar-11-2019, 12:15 AM)Larz60+ Wrote: Have you looked at the tutorial I show in post 2?
I can vouch for it!
You do not need elcipse marketplace. That sounds like a scam!
Use the link I pointed to!

Yes, I used it - though the link you gave me was a bit further into the threads. I gotta start from the top-down!


RE: Interfacing Google Chrome & Python - Larz60+ - Mar-16-2019

Sorry, thought he didn't start with selenium until part 2.
So follow from part 1