I want to compare a text of red color background of two different web pages using selenium webdriver -


i want compare text of red color background of 2 different web pages using selenium webdriver. if both same should display true else false. please me out this.

you can use method .getcssvalue("background-color"); can called webelement, , use assert statement check value equal "red".


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -