selenium webdriver - How to do mouse over and check the element together with robotframeworks+selenium2libarary -


i'm going automation test on scenario: when hover mouse on button, there float menu. , want check logo in float menu. default, is:

<div class="header fold">   <div class="logo fold">   ... 

when hover mouse on button, page turn to:

<div class="header float-header">   <div class="logo float-header">   ... 

i tried command:

mouse on | css=div.header-status-btn[title="restore header"]  page should contain element | css=div.logo.float-header 

but there errors:

fail : valueerror: element locator 'css=div.logo.float-header' did not match elements.

seems can't locate element in floating menu in way. know how check float menu mouse over?

try this:

mouse on | css=div.header-status-btn[title="restore header"] # wait 60s element become visible set selenium implicit wait | 60    wait until element visible | css=div.logo.float-header 

Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -