These are chat archives for ui4j/ui4j

15th
Jul 2015
Ryan Peterson
@rpeterson03
Jul 15 2015 05:45
@ui4j Awesome project. I think I will be able to use your library in place of at leas two other libraries maybe three. I was hoping you(or someone with more experience) could help me with something. I am trying to load a page and then find images at potential x,y coordinates. I tried doing this by executing JS, but it kept coming back null. Then I found the "getElementFromPoint" in your API. I have tried to implement it with no luck. I was hoping you might have an example or could at least confirm that I am on the right path.
Ozhan Duz
@ui4j
Jul 15 2015 07:09
Hi @rpeterson03 I just commit sample test for getting image offset
ui4j/ui4j@fdad275
You could search all images by their offset
let me know if this solution is not suitable for your case
Ozhan Duz
@ui4j
Jul 15 2015 07:24
You must call page.show() before using getElementFromPoint()
Ryan Peterson
@rpeterson03
Jul 15 2015 23:42
@ui4j that may actually work better than what I was doing. I was also not calling page.showI() so that's a good tip.
Thankyou!