Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to find #18

Open
wanghaisheng opened this issue Mar 20, 2022 · 2 comments
Open

failed to find #18

wanghaisheng opened this issue Mar 20, 2022 · 2 comments

Comments

@wanghaisheng
Copy link

wanghaisheng commented Mar 20, 2022

        browser = playwright.firefox.launch(headless=headless)
        print('default is pass')
    except:
        executable_path=os.environ.get("firefox_executable_path")
        print('looking for env')

firefox_eL0VMz5AXU

is there any thing missing

keep go to except print looking for env....

@wanghaisheng wanghaisheng changed the title how to use this in azure function app failed to find Mar 20, 2022
@wanghaisheng
Copy link
Author

dpkg-query: package 'playwright' is not installed
if i run in console

@wanghaisheng
Copy link
Author

even try to set env as

        # /app/.heroku/python/lib/python3.9/site-packages/playwright/driver/package/.local-browsers/firefox-1319

/app/.heroku/python/lib/python3.9/site-packages/playwright/driver/package/.local-browsers/chromium-97

dot not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant