"my-app/src/react/authentication/components/loginButton.js" did not exist on "da1b3d80e47300456f39fb8f7dff13d41800e08e"
Newer
Older
const { By } = require('selenium-webdriver');
module.exports = async function (driver) {
const degreeCourses = await driver.findElements(By.className('card'));
const lastOne = degreeCourses.pop();
const itemAndID = await lastOne.getAttribute("id")
return itemAndID.split("DegreeCourseItem")[1]
}