Is there any difference in code when running test on headless browser?

Hello, my question already on topics title please help answer. Thanks :slight_smile: