Usage

To use the functions provided by the Liteium package, you need to follow these steps:

from liteium import *
                        
#Initialize the WebDriver
driver_path = '/path/to/chromedriver'
driver(driver_path)

#Open a URL
open('https://example.com')

#Find an element by ID
element = id('exampleId')
print(element.text)

#Take a screenshot
screenshot('example.png')

#Close the WebDriver
close()