Skip to content
#

webdriver

Here are 714 public repositories matching this topic...

medecau
medecau commented May 23, 2020

Please, provide access to HTML attributes through item getters.

The following code makes three assertions of which only one works.

import operator
import splinter

b = splinter.Browser()
b.visit('https://www.google.com/')
q = b.find_by_name('q').first

assert 'q' == q.get('name')
assert 'q' == operator.itemgetter('name')(q)
assert 'q' == q['name']

_I would write the chang

Improve this page

Add a description, image, and links to the webdriver topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the webdriver topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.