Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PageFactory limitation in my method in webdriver ? what is the workaround?

 
linda russel
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator















This is my call in the main method



what is the workaround for this?


there can be only one return type in PageFactory
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, but I don't understand what you are asking. A little bit of explanation on what you are attempting to do, and why it is not working, would help.

(At this point I am guessing you want to know how to return two values from a method call, but such a question has nothing to do with Build Tools, so that can't be what you are asking. Or is it?)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic