Danp2 / au3WebDriver

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

_WD_GetTable - Use innerText instead of textContent #521

Closed Danp2 closed 2 months ago

Danp2 commented 2 months ago

Signed-off-by: Dan Pollak danpollak2@gmail.com

Pull request

Proposed changes

Use innerText instead of textContent when retrieving cell contents of table

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?

Test can contain formatting such as \t and \n

What is the new behavior?

No formatting is returned

Influences and relationship to other functionality

Describe how the changes will affect other functions, potential script breaking changes, etc.

Additional context

https://www.autoitscript.com/forum/topic/212230-whitespace-characters-showing-when-accessing-a-table-using-_wd_gettable

System under test

Please complete the following information.