java-client icon indicating copy to clipboard operation
java-client copied to clipboard

Attach to an already-existing session

Open i0 opened this issue 7 years ago • 5 comments

Hi everyone,

Is there a way to attach the java client to an existing session? For javascript-wd driver there is an "attach" method which connects the driver to an existing session: https://github.com/admc/wd#attach-to-an-already-existing-session

So, I was just wondering if there is a similar method in the java client library?

Thanks

i0 avatar Oct 18 '18 20:10 i0

same question +1

zyziyun avatar May 28 '19 08:05 zyziyun

@Jonahss This is something which we discussed at the appium conf

saikrishna321 avatar Jul 13 '19 16:07 saikrishna321

Totally! This is a really crucial feature that I used to use all the time. The Java client just extends the selenium project's java client, and when they updated they may have made this harder.

I'll see what I can do. It wasn't obvious how to do this with the new versions. Maybe this can be the next AppiumPro article ;)

Jonahss avatar Jul 13 '19 20:07 Jonahss

This will help with app debugging purpose, sometimes there are app error cases that only occurred when the app navigated by appium. looking forward to these :)

ganjarpanji avatar Dec 03 '19 04:12 ganjarpanji

+1 would really like to see that.

boris779 avatar Dec 18 '20 12:12 boris779