python - How to use method load() in loadable components using Java -


I have worked with loadable components using python, you can type one of the following load methods:

  def load (self): self._parent_page.get () self._parent_page.click_this_button ()  

Where the click_this_button () method defined in parent_page class

How can I use the same syntax in Java? In Java I can only write parentPage.get (). Is there a way to reach the methods defined in parents in Python?

Thanks


Comments

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

Send innerHTML text in URL in JSP -