hide device keyboard in protractor using wdBrowser The Next CEO of Stack OverflowHow to run ProtractorProtractor - run multiple tests in parallel on different browsersProtractor + AngularJS + Jasmine get output results on xml fileUnable to use Protractor webdriver-managerprotractor timeout after 30000msecHow to set protractor(v1.4.0) baseUrl using protractor API instead of configuration file?AngularJs Protractor Html Reporter Fails Config ParserProtractor-trx-reporter not creating trx fileHow to set protractor chromeOptions via command line argumentsHow to run Protractor test when spec is remote

Why did Batya get tzaraat?

Is there a rule of thumb for determining the amount one should accept for of a settlement offer?

How can the PCs determine if an item is a phylactery?

Incomplete cube

Masking layers by a vector polygon layer in QGIS

Raspberry pi 3 B with Ubuntu 18.04 server arm64: what pi version

How to find if SQL server backup is encrypted with TDE without restoring the backup

How do I keep Mac Emacs from trapping M-`?

Is it possible to create a QR code using text?

Man transported from Alternate World into ours by a Neutrino Detector

Upgrading From a 9 Speed Sora Derailleur?

Is it possible to make a 9x9 table fit within the default margins?

Does Germany produce more waste than the US?

logical reads on global temp table, but not on session-level temp table

Does the Idaho Potato Commission associate potato skins with healthy eating?

What day is it again?

How dangerous is XSS

Calculating discount not working

Could you use a laser beam as a modulated carrier wave for radio signal?

Is a linearly independent set whose span is dense a Schauder basis?

Are British MPs missing the point, with these 'Indicative Votes'?

Is it OK to decorate a log book cover?

Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?

Strange use of "whether ... than ..." in official text



hide device keyboard in protractor using wdBrowser



The Next CEO of Stack OverflowHow to run ProtractorProtractor - run multiple tests in parallel on different browsersProtractor + AngularJS + Jasmine get output results on xml fileUnable to use Protractor webdriver-managerprotractor timeout after 30000msecHow to set protractor(v1.4.0) baseUrl using protractor API instead of configuration file?AngularJs Protractor Html Reporter Fails Config ParserProtractor-trx-reporter not creating trx fileHow to set protractor chromeOptions via command line argumentsHow to run Protractor test when spec is remote










0















I am trying to use device commands in protractor.



I have the conf.ts set like this



if (process.argv.indexOf('android') > -1) 
var wd = require('wd'),
protractor = require('protractor');
var wdBridge;
try
wdBridge = require('wd-bridge')(protractor, wd);
catch (ign)
// just so that it runs locally
wdBridge = require('../..')(protractor, wd);


export let config: Config =
onPrepare()

wdBridge.initFromProtractor(config);




and in my spec:



this.passwordFld.sendKeys(password).then(() => 
wdBrowser.hideDeviceKeyboard();
this.signInBtn.click();
);


But then it says wdBrowser not defined. How do I install it?










share|improve this question


























    0















    I am trying to use device commands in protractor.



    I have the conf.ts set like this



    if (process.argv.indexOf('android') > -1) 
    var wd = require('wd'),
    protractor = require('protractor');
    var wdBridge;
    try
    wdBridge = require('wd-bridge')(protractor, wd);
    catch (ign)
    // just so that it runs locally
    wdBridge = require('../..')(protractor, wd);


    export let config: Config =
    onPrepare()

    wdBridge.initFromProtractor(config);




    and in my spec:



    this.passwordFld.sendKeys(password).then(() => 
    wdBrowser.hideDeviceKeyboard();
    this.signInBtn.click();
    );


    But then it says wdBrowser not defined. How do I install it?










    share|improve this question
























      0












      0








      0








      I am trying to use device commands in protractor.



      I have the conf.ts set like this



      if (process.argv.indexOf('android') > -1) 
      var wd = require('wd'),
      protractor = require('protractor');
      var wdBridge;
      try
      wdBridge = require('wd-bridge')(protractor, wd);
      catch (ign)
      // just so that it runs locally
      wdBridge = require('../..')(protractor, wd);


      export let config: Config =
      onPrepare()

      wdBridge.initFromProtractor(config);




      and in my spec:



      this.passwordFld.sendKeys(password).then(() => 
      wdBrowser.hideDeviceKeyboard();
      this.signInBtn.click();
      );


      But then it says wdBrowser not defined. How do I install it?










      share|improve this question














      I am trying to use device commands in protractor.



      I have the conf.ts set like this



      if (process.argv.indexOf('android') > -1) 
      var wd = require('wd'),
      protractor = require('protractor');
      var wdBridge;
      try
      wdBridge = require('wd-bridge')(protractor, wd);
      catch (ign)
      // just so that it runs locally
      wdBridge = require('../..')(protractor, wd);


      export let config: Config =
      onPrepare()

      wdBridge.initFromProtractor(config);




      and in my spec:



      this.passwordFld.sendKeys(password).then(() => 
      wdBrowser.hideDeviceKeyboard();
      this.signInBtn.click();
      );


      But then it says wdBrowser not defined. How do I install it?







      protractor






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 7 at 19:10









      user3920295user3920295

      3101419




      3101419






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55051180%2fhide-device-keyboard-in-protractor-using-wdbrowser%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55051180%2fhide-device-keyboard-in-protractor-using-wdbrowser%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

          Алба-Юлія

          Захаров Федір Захарович