Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

Add two ignored elements to unit test

Matt Hillebrand00ad6b4c5f3d
diff --git a/tests/parser/test_general.py b/tests/parser/test_general.py
index d459d44..36241a6 100644
--- a/tests/parser/test_general.py
+++ b/tests/parser/test_general.py
@@ -340,6 +340,8 @@ def test_getting_all_text_from_nested_content():
<span>string4</span>
</div>
string5
+ <script>ignored</script>
+ <style>ignored</style>
</main>
</body>
</html>