javascript - cannot get selected text with Nightwatch.js -
i want test selected text value. nightwatch.js api has elementactive() active element:
client.elementactive(function (result) { console.log(result); });
it gives me:
{ state: 'success', sessionid: 'bc0b1b932cf8dac815bc8f1d94128a3c0d0278bd', hcode: 16988771, value: { element: '2' }, class: 'org.openqa.selenium.remote.response', status: 0 }
how can selected text?
Comments
Post a Comment