PATH
(e.g. /usr/bin
). You can also extract it to anydirectory and add that directory to the PATH
:.exe
file to your PATH.chrome
when you createthe Browser
instance:Browser
function, firefox
will be used.$HOME/.bash_profile
, you can try $HOME/.bashrc
.splinter.driver.webdriver.chrome.
WebDriver
(options=None, user_agent=None, wait_time=2, fullscreen=False, incognito=False, headless=False, **kwargs)¶attach_file
(name, value)¶name
with the content specified by value
.back
()¶check
(name)¶browser.check
n times, the checkbox keeps checked, it never get unchecked.uncheck
method.choose
(name, value)¶gender
and values ‘F’ and ‘M’.If you use the choose
method the following way:click_link_by_href
(href)¶href
https://entrancementpass276.weebly.com/blog/hp-color-laserjet-2605dn-driver-windows-7-download-free. attribute.click_link_by_id
(id)¶click_link_by_partial_href
(partial_href)¶href
attribute.click_link_by_partial_text
(partial_text)¶click_link_by_text
(text)¶text
.cookies
¶CookieManager
instance.evaluate_script
(script, *args)¶execute_script
method.execute_script
(script, *args)¶fill
(name, value)¶name
with the content specified by value
.fill_form
(field_values, form_id=None, name=None)¶name
with the content specified by value
in a dict.find_by
(finder, selector, original_find=None, original_query=None, wait_time=None)¶find_by_css
(css_selector, wait_time=None)¶ElementList
,using a CSS selector to query the current page content.find_by_id
(id, wait_time=None)¶ElementList
find_by_name
(name, wait_time=None)¶ElementList
.find_by_tag
(tag, wait_time=None)¶ElementList
find_by_text
(text=None, wait_time=None)¶ElementList
find_by_value
(value, wait_time=None)¶ElementList
find_by_xpath
(xpath, original_find=None, original_query=None, wait_time=None)¶ElementList
,using a xpath selector to query the current page content.find_link_by_href
(href)¶ElementList
find_link_by_partial_href
(partial_href)¶str
in their href attribute.ElementList
find_link_by_partial_text
(partial_text)¶str
in their text.ElementList
find_link_by_text
(text)¶ElementList
find_option_by_text
(text)¶<option>
elements by their text.ElementList
find_option_by_value
(value)¶<option>
elements by their value.ElementList
forward
()¶get_alert
(wait_time=None)¶get_iframe
(**kwds)¶html
¶html_snapshot
(name=', suffix='.html', encoding='utf-8')¶is_element_not_present_by_css
(css_selector, wait_time=None)¶wait_time
.is_element_not_present_by_id
(id, wait_time=None)¶wait_time
.is_element_not_present_by_name
(name, wait_time=None)¶wait_time
.is_element_not_present_by_tag
(tag, wait_time=None)¶wait_time
.is_element_not_present_by_text
(text, wait_time=None)¶wait_time
.is_element_not_present_by_value
(value, wait_time=None)¶wait_time
.is_element_not_present_by_xpath
(xpath, wait_time=None)¶wait_time
.is_element_present_by_css
(css_selector, wait_time=None)¶wait_time
.is_element_present_by_id
(id, wait_time=None)¶wait_time
.is_element_present_by_name
(name, wait_time=None)¶wait_time
.is_element_present_by_tag
(tag, wait_time=None)¶wait_time
.is_element_present_by_text
(text, wait_time=None)¶wait_time
.is_element_present_by_value
(value, wait_time=None)¶wait_time
.is_element_present_by_xpath
(xpath, wait_time=None)¶wait_time
.is_text_present
(text, wait_time=None)¶text
in the browser and wait the seconds specified in wait_time
.text
and False if not.quit
()¶reload
()¶screenshot
(name=', suffix='.png', full=False)¶select
(name, value)¶<option>
element in an <select>
element using the name
of the <select>
andthe value
of the <option>
.title
¶type
(name, value, slowly=False)¶value
in the field identified by name
.slowly
is True, this function returns an iterator which will type one character per iteration.uncheck
(name)¶brower.uncheck
n times, the checkbox keeps unchecked, it never get checked.check
method.url
¶visit
(url)¶url
parameter is a string.