Visit my website for the instructions with hyperlinks to download and tutorials and more... https://www.aliraza.cloud/chrome-automation
Requirements:
-
Python3 and pip
-
Chrome browser v.96+
Instructions:
-
Download and or Update Python and The Chrome browser (if you don’t have it already)
-
Drink some Water if you haven't today.
-
Navigate to the program folder and run the following command in the terminal:
pip install -r requirements.txt
-
Thats it!! You are ready to go. Now you can run the program by running the auto_chrome_6.py file.
-
As this is a command line program, make sure to read the instructions carefully in the terminal/command prompt and follow them.
-
If you have any questions, feel free to contact me on my website or on my twitter: aliraza.cloud or @cloudmaking
Features:
- Built in live Command tester for selectors and code snippets
- Allows rapid development of automation scripts
Pre-set Script Builder Commands:
(Remember, all normal python code and syntax works. Make your presets in txt files or in python files(recommended))
Find CSS and XPATH codes through the inspect window on chrome. All base selenium code also works fine (this program just makes it so you don't need to setup anything) MAKE SURE to put "ac." before any selenium code you want to use. (ac. is short for auto_chrome)
-
ac.go_to(address, fail_message[optional])
-
ac.css_and_key(code, key, fail_message[optional])
-
ac.xpath_and_key(code, key, fail_message[optional])
-
ac.css_and_click(code, fail_message[optional])
-
ac.xpath_and_click(code, fail_message[optional])
Extras
Must watch video for understanding selenium and making your own automation scripts: https://www.youtube.com/watch?v=tRNwTXeJ75U
If you have any questions or want to get in contact you can find me on Instagram and twitter by searching @cloudmaking (feel free to DM).
If you want to support this project or me, please check out my NFTs and maybe buy some, I accept most bids. https://opensea.io/collection/cryptoverse1 or Donate below: https://paypal.me/CloudMaking?locale.x=en_GB