New answers tagged


Actually I'm asking here the question regrading the dropfile method. this function was working fine but since upgraded the seleniumm webdriver to 4/4.01, The c# compained about RemoteWebElement is deprecated. How to fix that. Kind Regards.


One cannot override static methods, more details here. Nonetheless, you can still call it from subclasses, but with a different method (different name or arguments). class AssertWithScreenhot extends Assert { public void failWithScreenshot(String message) { takeScreenshot(); fail(message); } }

Top 50 recent answers are included