I’m using a JS executor to pass a test name (driver.executeScript(“lambda-name=”)), but I’m encountering the error “javascript error: Invalid left-hand side in assignment.” How can I resolve this?
Hi Rebecca,
This error is typically seen when the test name exceeds 255 characters. Please use a shorter test name to resolve the issue.