I need to implement the following Page Object Pattern C# Code with selenium. https://www.automatetheplanet.com/page-object-pattern/
Inside one of the examples; there is some code-
[FindsBy(How = How.Id, Using = "sb_form_q")]
public IWebElement SearchBox { get; set; }
If I were to run some tests with the following code how would I use the code pattern with id, classes, values from a website. etc? Can someone give examples?
Aucun commentaire:
Enregistrer un commentaire