Skip to content

extra2/AutoBrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoBrowser

This project is in early state. It can be unstable.

AutoBrowser lets you automatize your browser using script language. The program is based on Selenium WebDriver.

Scripts are devided into two sections: init and program.

Docs

init

At the beggining of your program you can use init command to enter initial browser settings. Avilable initial commands:

debugconsole [on|off] turns on/off debug console (default on)

timeout [time_in_seconds] sets timeout for pages to load and waiting time for elements if not found immediately (default 60)

program

After init you can write your program script between program and endprogram (program section). Avilable commands are:

goto [url] - go to chosen url

sendtext [search_by] [element] [text_to_send] - sends text to selected element

clickon [search_by] [element] - clicks on selected element

wait [time] - wait for time miliseconds

waitfor [search_by] [element] - wait for element untill it's visible

loop [times] - start a for loop for times times. Should wnd with endloop

ifvisible [search_by] [element] - if item is visible. Ends with endif

break - break from current section. Doesn't dispose driver

exit - exit and dispose driver. Should be use at the end of the program

search_by options:

i = id

c = class name

x = XPath

n = name

l = link text

t = tag name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages