GithubHelp home page GithubHelp logo

hwthwt / linr-ie-web-driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linrstudio/linr-ie-web-driver

1.0 1.0 0.0 922 KB

IE 原生 Web Driver 调用,通过简单配置,即可自动化测试 IE 浏览器(目前仅限 Internet Explorer 11+ 版本)。做一些自动化的操作,都是很容易的。如自动化测试、截屏、快速登录、抢票等。

linr-ie-web-driver's Introduction

Linr IE Web Driver

  • IE 原生 Web Driver 调用,通过简单配置,即可自动化测试 IE 浏览器。做一些自动化的操作,都是很容易的。如快速登录、抢票等。

下载 download (请选择您对应的 IE 版本)

  • 请在 Download 下载 for IE11
  • 请在 Download 下载 for IE Developer Channel

** IE11 用户提示:

操作方法 How to (for IE 11)

  • 双击 LinrIEWebDriver.exe (默认使用 config.json 这个配置文件)
  • 将配置文件 xxx.json 拖到 LinrIEWebDriver.exe 运行,则使用 xxx.json 作为配置文件

*** config.json 文件示例

{
	"newSession":[],
	"get":"http://bing.com",
	"wait":20,
	"maximizeWindow":{},
	"takeScreenshot":"^^^"
}

*** config-lite.json 文件示例

{
	"newSession":[],
	"get":"http://bing.com",
	"wait":20,
	"maximizeWindow":{},
	"findElement":"input[name=q]",
	"sendKeys":["W", "e", "b", "D", "r", "i", "v", "e", "r", "\uE007"],
	"executeScript":"alert(1)",
	"takeScreenshot":"",
	"executeScript(script, args)" : ['alert(arguments[0])', ["123"]]
}

操作方法 How to (for IE Developer Channel)

  • 开始-运行-cmd
  • 粘贴或输入 格式:LinrIEWebDriver.exe xxx.json /appvve:9BD02EED-6C11-4FF0-8A3E-0B4733EE86A1_6A0357B5-AB99-4856-8A59-CF2C38579E78
  • 如:LinrIEWebDriver.exe config.json /appvve:9BD02EED-6C11-4FF0-8A3E-0B4733EE86A1_6A0357B5-AB99-4856-8A59-CF2C38579E78

系统要求 system requred:

Web Driver 命令 JSON 参考:

linr-ie-web-driver's People

Contributors

linrstudio avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.