Selenium

Vimeo fetching video title

  Login

  Check if xpath exist in current page

  Load all the components (3s pause by default for loading)

  The format of video title will be (XPATH)  

  Fetch all the video titles

 

Selenium

Fetch stock price from Yahoo Finance

The url for stock number #1234

Pattern: https://hk.finance.yahoo.com/quote/STOCKNUM.HK/?p=STOCKNUM.HK   The stock number in url should be in 4 digits with leading zero, therefore, when reading input:

 

Selenium

Auto fill form bot

Install the selenium module in Python

Import the following:

  Common approach of form filling

  Example: (http://parsleyjs.org/doc/examples/simple.html) Locate the element using id, css selector, class or xpath