I'm currently trying to instantiate a variable with the contents of the getText method using webdriverio.
a = String(browser.getText('.field_notice'));
When I attempt to print the variable this is the output:
[object Object]
Thanks for the help!