Danp2 / au3WebDriver

Web Driver UDF for AutoIt
MIT License
108 stars 24 forks source link

_WD_LinkClickByText: Add starting element #396

Closed Danp2 closed 2 years ago

Danp2 commented 2 years ago

Pull request

Proposed changes

Enhance the existing _WD_LinkClickByText function by optionally allowing the specification of a starting element.

Checklist

Put an x in the boxes that apply. If you're unsure about any of them, don't hesitate to ask. We are here to help!
This is simply a reminder of what we are going to look for before merging your code.

Types of changes

Please check x the type of change your PR introduces:

What is the current behavior?

Entire webpage is searched

What is the new behavior?

Uses optional Starting Element parameter of _WD_FindElement to allow the search to be limited to a specific section of the webpage

Additional context

Add any other context about the problem here.

System under test

Please complete the following information.