Selenium - Finding element that has title
The target element is a button
, not an input
:
//button[@title = 'Add Matter (Access key + A)']
You may also check the title
attribute with starts-with()
:
//button[starts-with(@title, 'Add Matter')]
The target element is a button
, not an input
:
//button[@title = 'Add Matter (Access key + A)']
You may also check the title
attribute with starts-with()
:
//button[starts-with(@title, 'Add Matter')]