Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Set<String> contextNames = ad.getContextHandles();
  2. System.out.println("contextNames found "+contextNames);
  3. for (String contextName : contextNames) {
  4. if (contextName.contains("WEBVIEW")){
  5. try{
  6. ad.context(contextName);
  7. bView = true;
  8. }
  9. catch (Exception e){
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement