# Okta authentication for selenium webdriver scripts

**URL:** <https://devforum.okta.com/t/okta-authentication-for-selenium-webdriver-scripts/27693>\
**Category:** Questions\
**Created:** [April 12, 2024, 7:23am UTC](https://devforum.okta.com/t/okta-authentication-for-selenium-webdriver-scripts/27693 "2024-04-12T07:23:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthikkaushik91](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@karthikkaushik91](https://devforum.okta.com/u/karthikkaushik91)\
**Post date:** [April 12, 2024, 7:23am UTC](https://devforum.okta.com/t/okta-authentication-for-selenium-webdriver-scripts/27693/1 "2024-04-12T07:23:49Z")

</div>

Hi All,

Currently we started using Okta sign in for our applications and our automated tests run in selenium API using java. How to overcome the Okta authentication since we the ways to authenticate are using push notification or a code.

Can someone pls suggest a plausible workaround so we don’t end up junking most of our automation tests.

Regards,  
KK

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [April 12, 2024, 5:58pm UTC](https://devforum.okta.com/t/okta-authentication-for-selenium-webdriver-scripts/27693/2 "2024-04-12T17:58:23Z")

</div>

Would you be able to complete these tests with a test user that is configured (in policies) to _not_ be challenged for an additional factor?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [May 12, 2024, 5:58pm UTC](https://devforum.okta.com/t/okta-authentication-for-selenium-webdriver-scripts/27693/3 "2024-05-12T17:58:55Z")

</div>

Closed on May 12, 2024, 5:58pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
