跳过导航
Codex can now use the in-app browser to test your app at different viewport sizes!
0:00 / 0:24

Codex can now use the in-app browser to test your app at different viewport sizes!

James Sun

@JamesZmSun9625 位关注者

在 X 上查看
1,384 个赞下载原帖

229,312 次观看

Codex can now use the in-app browser to test your app at different viewport sizes! It will control the device tool bar and click through your app at different breakpoints to validate & iterate. If it's a long run, Codex will take screenshots at key moments during testing and show them to you at the end of the turn, so you can verify its work. To speed up testing, Codex can hide the IAB to disable animations, and accelerate testing by 1-2x. Separately, we also made annotations send faster and consume less tokens. Hope you enjoy the updates and let us know what you think!

50 条评论

评论来自 X (Twitter) 上的原帖

  • James Sun 的头像

    @JamesZmSun

    Shoutout to @jnpdx & @olivertepman who cooked on this update

    26 个赞

  • Peter Yang 的头像

    @petergyang

    Damn - I think the browser is codex’s best feature tbh

    20 个赞

  • James Sun 的头像

    @JamesZmSun

    Thanks! Big fan

    7 个赞

  • nsxdavid 的头像

    @nsxdavid

    Much as I love the sauce you be cookin'.... but Codex browser preview still does some awful, horrendous behaviors that just kills its usefulness right in the face. Like, say you get one of these nice next errors, and then you try to click the oh so helpful copy button. Whatcho play'n at son!?

    9 个赞

  • James Sun 的头像

    @JamesZmSun

    Yikes! Thanks for reporting the bug, we have a big upgrade coming next week that should make the core browser experiences much much better. Let me know if you still see it then

    15 个赞

  • nsxdavid 的头像

    @nsxdavid

    Other major one... and maybe it's user-knumbskulliness... but no way to see a dev console. I don't need the whole shebang, just a console would be super helpful. Fully realize a web browser in essentially a web view can be a barrel of fun.

    3 个赞

  • am.will 的头像

    @LLMJunky

    Wow that's slick. I would say the biggest downside to these browser tools is how slow they are so that is really helpful. Thank you

    7 个赞

  • Venkat Dinavahi 的头像

    @venkatdinavahi

    Amazing! Could you make file uploads work in the browser? Makes testing many features hard for us

    3 个赞

  • James Sun 的头像

    @JamesZmSun

    Yep, working on bringing full feature capability to the browser!

    5 个赞

  • Venkat Dinavahi 的头像

    @venkatdinavahi

    Amazing! Browser use and the chrome plugin work really well.

    1 个赞

  • Brett Lamy 的头像

    @brett_lamy

    I should be allowed to set my viewports in config.toml and the iframes should render on an infinite canvas using translate() css props for panning and zoom. Then each iframe should have it's own subagent which try to accomplish the task so all sizes are tested in parallel.

    2 个赞

  • James Sun 的头像

    @JamesZmSun

    Good feedback! We need to get better at parallelization for browser use. For saving viewports, thoughts on just saving that in a skill instead?

    4 个赞

  • Brett Lamy 的头像

    @brett_lamy

    A skill would probably be fine. But I think codex browser usage tools are undocumented so writing a skill to prompt an undocumented feature triggers iOS app store rejection PTSD.

    3 个赞

  • V 的头像

    @Aceshootzxx

    @jxnlco omg this is so hugeeee😭😭 no more me manually editing piece by piece and telling codex its looking at different view resolutions

    1 个赞

  • Praveen 的头像

    @nmPraveen

    why does all the codex generated UI look the same. its getting boring. seriously need to get better frontend.

    1 个赞

  • Mr Z 的头像

    @MrZ2128

    Say what? @VraserX

    1 个赞

  • Jonathan | Fabworks 🏭 的头像

    @fabworks_guy

    Can you please make codex detect .localhost domains 🙏 Current treats them as remote and doesn’t open them in the app browser like localhost:port or other ips.

    1 个赞

  • vel ⋈ 🤌🧦 的头像

    @Velcrafting

    @OpenAIDevs Feature is working well - seeing the screenshots as they come through was very neat. Validation of testing in progress is a nice feature

    1 个赞

  • Derek Neighbors 的头像

    @dneighbors

    Hey @cursor_ai team this is something that you lost going to v3 that desperately needs to come back.. viewport size changing in the embedded browser.

    1 个赞

  • 🥔🥔🥔 的头像

    @argofowl

    @OpenAIDevs yes! lfg

    1 个赞