How I can find the method(GET and POST) in a link Using Selenium web driver? -
i have search post , in project. suppose enter link , login system. web driver should searches , post in page.
i had used
list<webelement> listmethod = driver.findelements(by.tagname("form")); for(webelement listcall : listmethod){ system.out.println(listcall.getattributes("method")); }
it solved problem
Comments
Post a Comment