← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #676498]: Copy a text after a search

 

Question #676498 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676498

    Status: Needs information => Open

charliedaps gave more information on the question:
Hello,

Thank you for your answer.

Since there are two types of text, I will start with the first, it will
be easier.

I have to search in html code.

The only thing I can do is display the code.

I make a ctrl F with the word "img"

The browser will put the word "img" is orange, so I can predict a find
or exists with the image of the word "img".

Like this

paste("view-source:http://www.xxx.xx)
type(Key.ENTER)
wait(2)
type("f", KeyModifier.CTRL)
paste("/img/")
find("1543319910796.png")
click("1543319910796.png")

But after how to select the rest of the sentence?

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