# Selenium python

**URL:** <https://community.firebasestudio.dev/t/selenium-python/871>\
**Category:** General\
**Created:** [July 8, 2024, 3:29am UTC](https://community.firebasestudio.dev/t/selenium-python/871 "2024-07-08T03:29:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yulius\_wijaya](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/yulius_wijaya/32/783_2.png) [@yulius\_wijaya](https://community.firebasestudio.dev/u/yulius_wijaya)\
**Post date:** [July 8, 2024, 3:29am UTC](https://community.firebasestudio.dev/t/selenium-python/871/1 "2024-07-08T03:29:35Z")

</div>

how to add selenium to project idx

---

<div class="post-metadata">

**Author:** ![Sunny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/sunny/32/85_2.png) [@Sunny](https://community.firebasestudio.dev/u/Sunny)\
**Post date:** [July 8, 2024, 7:36pm UTC](https://community.firebasestudio.dev/t/selenium-python/871/2 "2024-07-08T19:36:40Z")

</div>

You should be able to do it normally, just use headless chromium  
Try adding the following to `dev.nix`

```auto
pkg.chromium

```

---

<div class="post-metadata">

**Author:** ![yulius\_wijaya](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/yulius_wijaya/32/783_2.png) [@yulius\_wijaya](https://community.firebasestudio.dev/u/yulius_wijaya)\
**Post date:** [July 13, 2024, 7:54am UTC](https://community.firebasestudio.dev/t/selenium-python/871/3 "2024-07-13T07:54:28Z")

</div>

please guide me step by step to add pkg.chromium

---

<div class="post-metadata">

**Author:** ![Sunny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/sunny/32/85_2.png) [@Sunny](https://community.firebasestudio.dev/u/Sunny)\
**Post date:** [July 15, 2024, 4:14pm UTC](https://community.firebasestudio.dev/t/selenium-python/871/4 "2024-07-15T16:14:54Z")

</div>

Apologies for being 2 day late:

1. Go to .idx/dev.nix
2. Find the line that start with `packages=`
3. Add pkg.chromium  
Example

```auto
  packages = [pkgs.python3 pkgs.chromium];

```

---

<div class="post-metadata">

**Author:** ![HACXK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/hacxk/32/2991_2.png) [@HACXK](https://community.firebasestudio.dev/u/HACXK)\
**Post date:** [March 2, 2025, 2:58am UTC](https://community.firebasestudio.dev/t/selenium-python/871/5 "2025-03-02T02:58:00Z")

</div>

is it worked ? please tell me
