Selenium2+python Automation 8-seleniumbuilder Auxiliary positioning elements

Source: Internet
Author: User

Objective

The benefits are coming, and for the little friends who use Firefox, are you still worrying about locating elements?

Antiquity Artifact Selenium builder come, where won't point where, mom no longer worry about my positioning element problem! (But it's not everything, it's basically covered)

First, install selenium Builder
Search the add-ons in Firefox for Selenium builder. After installation as shown:

Second, direct application
1. Open the URL you want to test or open the plugin and enter the URL you want to test, as


2. Click to eject a popup window, such as:
注:如果你是直接在你要测的网页页面打开这个插件时,selenium builder会直接获取你要测的URL 3.点击record:and then you can go where you don't order. Here's an example:

Third, practice cases

1. Baidu home page, click Baidu a bit, then click Login, once again click the account and password input box, let us look at the results


2.这里没有展开,点击展开后可以发现定位该元素的多种方法
直接选择你想要的方法复制粘贴即可, 不用的话直接关掉弹窗即可。

Selenium2+python Automation 8-seleniumbuilder Auxiliary positioning elements

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.