'Web scraping - SyntaxError: Failed to execute 'evaluate' on 'Document':

Can anyone help me? I'm doing web scraping. I want to click on the button. Here is my xpath code:

/html/body/center/table/tbody/tr[2]/td/form/table[2]/tbody/tr[18]/td[3]/width='20%'/input[3]

I got an error as follow. Can anyone explain why and what is the solution?

SyntaxError: Failed to execute 'evaluate' on 'Document': Type conversion failed while evaluating the expression.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source