Skip to content

Commit

Permalink
fixed typo (#583)
Browse files Browse the repository at this point in the history
Changed 'server reponse' to 'server response' in the executeElementCommand error.
  • Loading branch information
williampearl authored Oct 6, 2023
1 parent 5926d40 commit 24588a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/lib/sessions/observatory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const executeElementCommand = async function(
log.debug(`<<< ${JSON.stringify(data)} | previous command ${command}`);
if (data.isError) {
throw new Error(
`Cannot execute command ${command}, server reponse ${JSON.stringify(data, null, 2)}`,
`Cannot execute command ${command}, server response ${JSON.stringify(data, null, 2)}`,
);
}
return data.response;
Expand Down

0 comments on commit 24588a9

Please sign in to comment.