Skip to main content

Selenium made simple(just a bit)!

Project description

semp (Selenium-Made-Simple)

Semp is a markup language for selenium library which makes web manipulation easier and faster!

drawing

Advantages of semp:

  • Easy to understand
  • Faster coding (no worries about syntax)
  • Create web bots easier
  • External .semp files
  • Directly start from terminal

How To Use:

browser / starts browser (browser used in line 1 is not in loop)
goto *webaddress / go to website
findelement (options: byname, byid, byxpath, bycssselector) *argument / find element by it's properties
sendkeys *keys / send keys to element
clearelement / clear element
clickelement / click element
submitelement / submit element
doubleclickelement / Double-click element
scroll *xcoordinate *ycoordinate / scroll to specified coordinate
scroll toelement / scroll to selected element
alert (options: accept, dismiss) / Accept or dismiss alert pop-up
getscreenshot *filesource / Save screenshot of full-page
quit / quit browser
killbrowser/ kill browser
quitsemp / quit semp
sleep *second / waiting time until next process starts
browser / starts browser again after quiting (used other than 1st line)

Example .semp files:

Example 1 Example 2

Libraries used in semp

SeleniumHQ - Selenium
Boni Garcia - WebDriverManager

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semp-1.1.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file semp-1.1.tar.gz.

File metadata

  • Download URL: semp-1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for semp-1.1.tar.gz
Algorithm Hash digest
SHA256 e8ceef9aaedbb5cee60f94a1dc6fe975264144967dc6cb5bd5824591a393eed2
MD5 c2225734a606962962695f04adda501a
BLAKE2b-256 e225806dd420eb80bd55da9933ef4920d3358bf54b69560622721f21db411a08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page