You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the AbstractWebElement class implements a Scaffold interface called BaseWebElement. Right now, this interface is supposed to be a clone of the WebElement, from Selenium, but uses our strongly typed elements. It also protects the codebase from any major changes to the Selenium API.
However, there are currently some features in the BaseWebElement that are missing from the WebElement interface. This ticket is to update this class and interface to accurately clone the WebElement. For example, the isSelected() method is not being used.
We should make the current public getWebElement() method private and either rename this method or the existing protected getWebElement method to give us a better idea on what is going on.
Also, keep in mind that we have an AbstractClickable class that is used by elements such as ButtonWebElement. We should still ensure that we're encapsulating actions for elements correctly.
A/C
Scaffold's BaseWebElement should have all of the same functionality from WebElement provided
Scaffold should still ensure proper encapsulation by providing methods like click() in the AbstractClickable class.
We should rename the getWebElement() methods to accurately reflect the actions they are performing and also change their access accordingly.
The text was updated successfully, but these errors were encountered:
Summary
Currently, the
AbstractWebElement
class implements a Scaffold interface calledBaseWebElement
. Right now, this interface is supposed to be a clone of theWebElement
, from Selenium, but uses our strongly typed elements. It also protects the codebase from any major changes to the Selenium API.However, there are currently some features in the
BaseWebElement
that are missing from theWebElement
interface. This ticket is to update this class and interface to accurately clone theWebElement
. For example, the isSelected() method is not being used.We should make the current public
getWebElement()
method private and either rename this method or the existing protectedgetWebElement
method to give us a better idea on what is going on.Also, keep in mind that we have an
AbstractClickable
class that is used by elements such asButtonWebElement
. We should still ensure that we're encapsulating actions for elements correctly.A/C
BaseWebElement
should have all of the same functionality fromWebElement
providedclick()
in theAbstractClickable
class.getWebElement()
methods to accurately reflect the actions they are performing and also change their access accordingly.The text was updated successfully, but these errors were encountered: