Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Reads the image src attribute and decode it using Zxing
void readQRCodeFromURL() {
String qrCodeFile = driver.findElement("qr")).getAttribute("src");
// get the qr code content and assert the result
String qrCodeResult = decodeQRCode(qrCodeFile);
Copy link

eliasnogueira commented Feb 11, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment