splinter icon indicating copy to clipboard operation
splinter copied to clipboard

Deprecating/Removing browser methods that can only search by 'name'

Open jsfehler opened this issue 5 years ago • 0 comments

The following methods:

browser.fill
browser.type
browser.choose
browser.check
browser.uncheck

Have analogous methods at the Element level. However, the browser level versions can only search by name. Any attempt to make them more flexible would result in code of no less complexity than calling browser.find_by_x. ie:

browser.check('my-checkbox', finder='id')
browser.find_by_id('my-checkbox').check()

Removing them would simplify everything by having only one way to interact with the API.

jsfehler avatar Jun 20 '19 15:06 jsfehler