Electron microscopy
 
Automatically Fill Contexts into or Select Options on Webpage
- Integrated Circuits -
- An Online Book -
Integrated Circuits                                                                                   http://www.globalsino.com/ICs/        


=================================================================================

 

To copy Xpath from a webpage:
         i) Click the three dots on the top-right corner on Chrome
              copy Xpath from a webpage
         ii) Click "More Tools"
         iii) Click "Developer Tools"
              copy Xpath from a webpage
         iv) Click the boxed arrow
              copy Xpath from a webpage
         v) Select an element (a text/number box)
              copy Xpath from a webpage

         vi) Right-click the HTML, then click "copy" and then "Copy Xpath"
              copy Xpath from a webpage

To from a webpage:
         i) Right click the the Search Bar at:
              https://portal.ct.gov/DRS/DRS-Forms/Forms/Fillable-Forms-Tips
              copy Xpath from a webpage
         ii) Find the element ID:
              copy Xpath from a webpage

===================================================

Auto-search on YouTube (it sometimes works but sometimes it does not work): Code:
              Code
Input of Search Bar:               
              
Input of Click Search Button:               
              Click Search Button

===================================================

Fill a google form with Xpath: Code:
              copy Xpath from a webpage
Result 1:
              copy Xpath from a webpage
Result 2:
              copy Xpath from a webpage
Fill in 1:
              copy Xpath from a webpage
Result 3:
              copy Xpath from a webpage
Click "Next" and then result 4:
              copy Xpath from a webpage

===================================================

Replacement code if there is an error message below:
         '''
         When there is a error message (see below) with the script at:
         https://www.globalsino.com/ICs/page4853Web_Automation2.py
         Error message:
         MyWebDriver = webdriver.Chrome(r'C:\mu\bin\chromedriver')
         DeprecationWarning: executable_path has been deprecated, please pass in a Service object
        
         However, in "normal" condition, the script gives an error message:
         driver = webdriver.Chrome(service=Service())
         TypeError: __init__() missing 1 required positional argument: 'executable_path'
         '''
code:         
         Replacement code if there is an error message below

===================================================

Fill a search form with an element IDh: Code:
              copy Xpath from a webpage
Output 1:
              copy Xpath from a webpage
Output 2:
              copy Xpath from a webpage

===================================================

Use for loop to auto-fill in a webpage and submit online for the list of users in a csv file: Code:
              copy Xpath from a webpage
Part of the filled form:               
              copy Xpath from a webpage
Part contents in the csv file:               
              copy Xpath from a webpage
Code from the webpage:               
              copy Xpath from a webpage
              copy Xpath from a webpage
              copy Xpath from a webpage

===================================================

Google Auto Search: Code:
              copy Xpath from a webpage
csv file:               
              copy Xpath from a webpage



              

 

 

 

 

 

=================================================================================