I have below jQuery selector. I check it with data from the browser developer console.
jQuery("iframe#msg_body").contents().find("html body div span").text()
And I need to use this for cssSelector in selenium. for example as below format
By expectedOutput = By.cssSelector(The_expression_I_need);
Can any one tell me how to do that ?