message: works with values containing enter as well
diff: @@ -275,13 +275,9 @@ export default class ExtCommand {
  async doSendKeys(locator, value, top) {
  const browserName = parsedUA.browser.name;
  - if (browserName === "Chrome" && value === "${KEY_ENTER}") {
  + if (browserName === "Chrome" && value.indexOf("${KEY_ENTER}") !== -1) {
  const connection = new Debugger(this.currentPlayingTabId);
  - try {
  - await connection.attach();
  - const docNode = await connection.getDocument();
  - const selector = await this.convertToQuerySelector(locator);
  - const nodeId = await connection.querySelector(selector, docNode.nodeId);
  + const sendEnter = async (nodeId) => {
  await connection.sendCommand("DOM.focus", { nodeId });
  await connection.sendCommand("Input.dispatchKeyEvent", {
  type: "keyDown",
  @@ -297,6 +293,24 @@ export default class ExtCommand {
  code: "Enter",
  text: "\r"
  });
  + };
  + try {
  + await connection.attach();
  + const docNode = await connection.getDocument();
  + const selector = await this.convertToQuerySelector(locator);
  + const nodeId = await connection.querySelector(selector, docNode.nodeId);
  + const parts = value.split("${KEY_ENTER}");
  + let n = 0;
  + while (n < parts.length) {
  + const part = parts[n];
  + if (part) {
  + await this.sendMessage("sendKeys", locator, value, top);
  + }
  + if (n < parts.length - 1) {
  + await sendEnter(nodeId);
  + }
  + n++;
  + }
  await connection.detach();
  return {
  result: "success"
  