GithubHelp home page GithubHelp logo

wushian / web-automation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thangdc/web-automation

0.0 1.0 0.0 79.17 MB

Web Automation written in C#, using Web Browser control to automate many things. You can do many things by write JavaScript code to control a Web Browser.

Home Page: http://www.thangdc.com

C# 99.91% Python 0.09%

web-automation's Introduction

##How is web automation work?

Web automation is a web browser which can help automation the browser like fill text, click on button, extract the data, save file from web automatically by javascript only.

IMAGE ALT TEXT HERE

##Example

  1. Login to Gmail
  • Open gmail: go('gmail.com');
  • Wait 5 seconds: sleep(5, false);
  • Fill username: fill("Email", "test");
  • Wait 1 second: sleep(1, false);
  • Fill password: fill("Passwd", "test");
  • Wait 1 second: sleep(1, false);
  • Click button Sign In: click("signIn");
  • Waith 2 seconds: sleep(2, false);
  • Get error message: var text = extract("errormsg_0_Passwd", "text");
  • Show error: alert(text);
  1. Take website image

//Take Snapshot

  • Location to save image: var location = getCurrentPath() + '\image.png';
  • Save to image: takesnapshot(location);

##Which thirdparty was used in the Web Automation project?

  1. GeckoFx
  • Replace web browser control
  • Geckofx-Core.dll
  • Geckofx-Winforms.dll
  • xulrunner (folder)
  1. Scintilla.NET
  • Using for texteditor
  • SciLexer.dll
  • SciLexer64.dll
  • ScintillaNET.dll
  1. NPOI
  • Working with excel file (xls)
  • NPOI.dll
  1. MouseKeyboardLibrary
  • Record your mouse and keyboard
  • MouseKeyboardLibrary.dll

##How to run Web Automation project?

  • Make sure all thirdparty exists in output folder
  • Click WebAutomation.sln to open project
  • Because all dll above was inorge when upload to github so please get it from links above.
  • More Infomation

web-automation's People

Contributors

ipodipad avatar thangdc avatar

Watchers

 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.