Skip to content

Commit

Permalink
feat(upgrade): upgraded to use cucumber v8 and all other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
larryg01 committed Mar 1, 2023
1 parent 226eef6 commit e3d9cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Capture and Attach screenshots to the Cucumber Scenario and HTML report will ren

let world = this;

return browser.takeScreenshot().then((screenShot) => {
return driver.takeScreenshot().then((screenShot) => {
// screenShot is a base-64 encoded PNG
world.attach(screenShot, 'image/png');
});
Expand Down

0 comments on commit e3d9cb6

Please sign in to comment.