How do I access the first element of an array using a CSS selector in python?
For Example:
css=('.od-FieldEditor-fieldTitle.ms-Label.is-required')
returns an array of 6 labels. I want to access the innerText
attribute of the first label.
How do I access the first element of an array using a CSS selector in python?
For Example:
css=('.od-FieldEditor-fieldTitle.ms-Label.is-required')
returns an array of 6 labels. I want to access the innerText
attribute of the first label.