Answer the question
In order to leave comments, you need to log in
Nighmare.js How to click on a non-unique class?
Good evening,
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div class="tabs">
<div class="tabs__group">
<div class="tabs__tab selected">
<div class="tabs__text tabs__text--default">Все</div>
</div>
<div class="tabs__tab">
<div class="tabs__text tabs__text--default">Завершенные</div>
</div>
<div class="tabs__tab">
<div class="tabs__text tabs__text--default">Расписание</div>
</div>
</div>
</div>
</body>
</html>
.click("tabs__tab") //Нужно кликнуть на 3 таб, где текст Расписание
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question