← Back to team overview

sikuli-driver team mailing list archive

[Question #686217]: Region contains 100 clickable link. How can I will be able to click a link based on Plain text pattern

 

New question #686217 on Sikuli:
https://answers.launchpad.net/sikuli/+question/686217

Region contains 100 clickable link. How can I will be able to click a link based on Plain text pattern.

Region have below links:
sports
news
.
.
.
sports1
news1
.
.

Expectation from Sikulix :
If I pass a variable like "sports1". It should click on the link having caption "sports1".

Region.find() or Region.click() does not able to recognize sports1 link (say Region.click("sports1")) .  However if  I take screenshot of "sports1" from Sikulix editor (say screen shot holding reference of  123.png) Region.click("123.png") is working fine.

Region Documentation:
Click() can accept image path or just plain text. Here I am using plain text. Am I misinterpreting documentation language. Please suggest.

Thanks in advance RaiMan :)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.