Hot answers tagged

1

This worked for me in webdriver.io var webdriverio = require('webdriverjs-angular'); var options = { desiredCapabilities: { browserName: 'firefox' }, ngRoot: 'html' // main application selector }; var wd = webdriverio.remote(options).init(); var wd2 = webdriverio.remote(options); ...


1

You first need to get the attribute of the element by using 'Get Element Attribute' of selenium2Library: ${style}= | Get element attribute | id=check_style@style Once you get the attribute like "width:20px;height:20px;background-color:#ffcc00;" then, you can get background-color very easily from this string by using 'Split String' of String library: ...



Only top voted, non community-wiki answers of a minimum length are eligible