@startuml
a -> b : <&cog>
a -> b : test
a -> b : test
a -> b : test
newpage
a -> b : test
a -> b : test
a -> b : test
a -> b : test
a -> b : <&wifi>
a -> b : test
@enduml
-tpdf or -tsvg output will produce images where the wifi icon of the second page is also drawn on the first page and will also cause the first page size to become enlarged.