python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Selenium Page Object Model: Best way to handle Return Pages for Modals
I'm currently working on the POM of a web app, that allows to open modals from the navigation bar. The navigation bar stays the same for every page you're on. Each modal can be opened from every page....
siealb
Votes: 0
Answers: 1
WebdriverIO typescript mocha to get last similar classname on a table <tr><td>
I need to get the last classname data, the number of classname is dynamic, so the number of classname cannot be determined and it always change every time i run the automation, but I just need to get ...
SeanRay
Votes: 0
Answers: 2
page object file has become too large
My page object file has grown to over 5000 lines. I have arranged the file into classes such as login_screen, landing_screen, profile_screen, settings_screen, and so on. I am considering splitting the...
Dondada
Votes: 0
Answers: 1
How to handle alert message within PageObjects
Code trials:
package Pages;
import org.openqa.selenium.Alert;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.PageFactory;
import org.op...
Mohamed hakim
Votes: 0
Answers: 1