The problem you are facing is because: [contains(text()='Some text')]. To get rid of this error try to change it to the following:-.
確定! 回上一頁