Python Forum

Full Version: How to use python to implement one QA task
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am a beginner and want to have some demo code for me to study.
One assignment I got is :

How to use python to implement the following task
A: Go to www.baidu.com, search for the term “QA”
B: Click the 2nd link
C: Wait for page to load
D: Verify that this page contains a link to
“https://baike.baidu.com/item/QA/476016?fr=aladdin”

Hope someone can help me with it. Thanks in advance.
How far have you gotten? What have you tried? Selenium sounds like a good tool for this.
Quote:I am a beginner and want to have some demo code for me to study.

This is not how this forum is working. First you propose some code and you let us know where you are stuck. Then we help you.