more consistent naming on session methods
This commit is contained in:
parent
4e7df2126b
commit
aaa5ee1a25
7 changed files with 52 additions and 28 deletions
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
const assert = require('assert');
|
||||
|
||||
module.exports = async function acceptTerms(session) {
|
||||
const reviewTermsButton = await session.waitAndQuerySelector('.mx_QuestionDialog button.mx_Dialog_primary', 5000);
|
||||
const reviewTermsButton = await session.waitAndQuery('.mx_QuestionDialog button.mx_Dialog_primary', 5000);
|
||||
const termsPagePromise = session.waitForNewPage();
|
||||
await reviewTermsButton.click();
|
||||
const termsPage = await termsPagePromise;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue