How to destroy the opened browser tab without selinum drivers in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

How to destroy the opened browser tab without selinum drivers in java

I tried to open a browser using java at the same time close current open tab only please guide me. it's more helpful for me guys...

11th May 2017, 3:32 AM
Boorsu Gangadharam
Boorsu Gangadharam - avatar
3 Answers
+ 10
I don't think the Java language specification provides access to a TAB of the browser. You might need a framework for that, e.g. the one you mentioned. You can close the browser (use exec command or a thread for that), but not a single tab.
12th May 2017, 9:45 PM
Tashi N
Tashi N - avatar
+ 5
I tried to kill process but entire browser destroyed I'm not looking for that expected answer kill previous open tab on browser
6th Jul 2017, 1:48 PM
Boorsu Gangadharam
Boorsu Gangadharam - avatar
+ 5
why we need to depend other frame works ...thanks for your suggestions
6th Jul 2017, 2:15 PM
Boorsu Gangadharam
Boorsu Gangadharam - avatar