html - is it technically possible to validate resizing through selenium? -
i'm trying automate test case covers resizing div element , making sure stays same in div (except size of of course). there way through selenium?
i'm not sure want, here 3 things can verify:
look @ html when resizing. if, element gains class "small", can element.getattribute("class").contains("small");
if css changes, can element.getcssvalue("someattribute").contains("something")
finally, if want make sure none of html changes @ all, need source of webelement, requires work around (described here: get html source of webelement in selenium webdriver using python )
Comments
Post a Comment